ucb/source/ucp/webdav/webdavcontent.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bd121d45f847ff353e3796510fac3181b88a87b1 Author: Michael Stahl <mst...@redhat.com> Date: Tue Jan 21 20:14:46 2014 +0100 ucb: fix inverted condition in webdav lcl_sendPartialGETRequest (regression from a3f32769fc4bb23c64168b412dd10ec769a3854d) Change-Id: Ic72b0e874ebf19e25e43af1f8750c63c04ed8a8e (cherry picked from commit 3780738154b8c3b3f9d85c64cccf621d97574886) Reviewed-on: https://gerrit.libreoffice.org/7581 Reviewed-by: David Tardon <dtar...@redhat.com> Tested-by: David Tardon <dtar...@redhat.com> diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index 9bd49f3..d98c39b 100644 --- a/ucb/source/ucp/webdav/webdavcontent.cxx +++ b/ucb/source/ucp/webdav/webdavcontent.cxx @@ -163,7 +163,7 @@ static void lcl_sendPartialGETRequest( bool &bError, for ( std::vector< DAVPropertyValue >::iterator it = aResponseProps.begin(); it != aResponseProps.end(); ++it ) { - if ( it->Name != "Content-Length" ) + if (it->Name == "Content-Length") { it->Value <<= aSize; break; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits