[Pkg-owncloud-commits] [owncloud-client] 34/484: Propagation: Make 423 Locked a soft error #3387
    Sandro Knauß 
    hefee-guest at moszumanska.debian.org
       
    Wed Dec 16 00:37:08 UTC 2015
    
    
  
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 20ea9015caede409f0159e09475b4b848f69e54c
Author: Christian Kamm <mail at ckamm.de>
Date:   Wed Sep 30 14:00:53 2015 +0200
    Propagation: Make 423 Locked a soft error #3387
---
 src/libsync/owncloudpropagator_p.h | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/src/libsync/owncloudpropagator_p.h b/src/libsync/owncloudpropagator_p.h
index 4fb0953..c3c68aa 100644
--- a/src/libsync/owncloudpropagator_p.h
+++ b/src/libsync/owncloudpropagator_p.h
@@ -69,6 +69,12 @@ inline SyncFileItem::Status classifyError(QNetworkReply::NetworkError nerror, in
         return SyncFileItem::SoftError;
     }
 
+    if (httpCode == 423) {
+        // "Locked"
+        // Should be temporary.
+        return SyncFileItem::SoftError;
+    }
+
     return SyncFileItem::NormalError;
 }
 
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
    
    
More information about the Pkg-owncloud-commits
mailing list