[Pkg-owncloud-commits] [owncloud-client] 166/484: PropagateUpload: Fix double-emission of finished #3844

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:34 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 7c5e70ac3c1653b83d60b112855d3a83ec56b552
Author: Christian Kamm <mail at ckamm.de>
Date:   Wed Oct 28 09:53:54 2015 +0100

    PropagateUpload: Fix double-emission of finished #3844
---
 src/libsync/propagateupload.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/propagateupload.cpp b/src/libsync/propagateupload.cpp
index 4fe2182..88cf153 100644
--- a/src/libsync/propagateupload.cpp
+++ b/src/libsync/propagateupload.cpp
@@ -563,7 +563,7 @@ void PropagateUploadFileQNAM::slotPutFinished()
         // This works around a bug in QNAM wich might reuse a non-empty buffer for the next request.
         qDebug() << "Forcing job abort on HTTP connection reset with Qt < 5.4.2.";
         _propagator->_anotherSyncNeeded = true;
-        done(SyncFileItem::SoftError, tr("Forcing job abort on HTTP connection reset with Qt < 5.4.2."));
+        abortWithError(SyncFileItem::SoftError, tr("Forcing job abort on HTTP connection reset with Qt < 5.4.2."));
         return;
     }
 #endif

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