[Pkg-owncloud-commits] [owncloud-client] 146/484: Download: Soft errors for error while resuming (#4000)

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:31 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 dccf4e9c3402bea8c16bba9cf92fc00871af4050
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Mon Oct 26 12:31:07 2015 +0100

    Download: Soft errors for error while resuming (#4000)
---
 src/libsync/propagatedownload.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/propagatedownload.cpp b/src/libsync/propagatedownload.cpp
index ad2cadf..efb5f66 100644
--- a/src/libsync/propagatedownload.cpp
+++ b/src/libsync/propagatedownload.cpp
@@ -517,7 +517,7 @@ void PropagateDownloadFileQNAM::slotGetFinished()
         // This happened when trying to resume a file. The Content-Range header was files, Content-Length was == 0
         qDebug() << bodySize << _item->_size << _tmpFile.size() << job->resumeStart();
         _tmpFile.remove();
-        done(SyncFileItem::NormalError, QLatin1String("Broken webserver returning empty content length for non-empty file on resume"));
+        done(SyncFileItem::SoftError, QLatin1String("Broken webserver returning empty content length for non-empty file on resume"));
         return;
     }
 

-- 
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