Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2013-11-25 19:37:06 +0400
committerMarkus Goetz <markus@woboq.com>2013-11-25 19:37:48 +0400
commit72d2ac09e3e14cf8b146e51e82e88ef604099e27 (patch)
treee97296310a07ade5cffef42440229bdc7301d02f /src
parent6b7da798b89e2abfad5ea106523cc6df066e4a58 (diff)
Propagator: Don't ignore error if no HTTP error code
Diffstat (limited to 'src')
-rw-r--r--src/mirall/owncloudpropagator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mirall/owncloudpropagator.cpp b/src/mirall/owncloudpropagator.cpp
index 9b9db208c..8ae97805d 100644
--- a/src/mirall/owncloudpropagator.cpp
+++ b/src/mirall/owncloudpropagator.cpp
@@ -903,7 +903,8 @@ bool PropagateItemJob::updateErrorFromSession(int neon_code, ne_request* req, in
// Check if we don't need to ignore that error.
httpStatusCode = errorString.mid(0, errorString.indexOf(QChar(' '))).toInt();
_item._httpErrorCode = httpStatusCode;
- if (httpStatusCode == ignoreHttpCode)
+ qDebug() << Q_FUNC_INFO << "NE_ERROR" << errorString << httpStatusCode << ignoreHttpCode;
+ if (ignoreHttpCode && httpStatusCode == ignoreHttpCode)
return false;
done(SyncFileItem::NormalError, errorString);