diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-01-21 20:14:46 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-01-21 20:14:46 +0100 |
commit | 3780738154b8c3b3f9d85c64cccf621d97574886 (patch) | |
tree | b30cba8049765c24762c6a892b9a57200363ec02 /ucb | |
parent | 54a370753cd1affd8c47cf171ef4a0f3bc76ba90 (diff) |
ucb: fix inverted condition in webdav lcl_sendPartialGETRequest
(regression from a3f32769fc4bb23c64168b412dd10ec769a3854d)
Change-Id: Ic72b0e874ebf19e25e43af1f8750c63c04ed8a8e
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav/webdavcontent.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav/webdavcontent.cxx b/ucb/source/ucp/webdav/webdavcontent.cxx index aea2a5a49c51..1fce24bb5942 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; |