[Pkg-owncloud-commits] [owncloud-client] 14/84: SyncEngine: Fix detection of backup (#5104)
Sandro Knauß
hefee at moszumanska.debian.org
Fri Oct 21 22:51:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee pushed a commit to branch master
in repository owncloud-client.
commit 4a7f3cb486384fdb094157c23d4c66f7ec5e9cbe
Author: Olivier Goffart <olivier at woboq.com>
Date: Thu Aug 4 16:06:10 2016 +0200
SyncEngine: Fix detection of backup (#5104)
Once upon a time, the SyncEngine was instantiated once per sync. But now that
the SyncEngine is kept between sync, we need to reset all these variable between
syncs.
---
src/libsync/syncengine.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp
index d71eba8..85d7e9b 100644
--- a/src/libsync/syncengine.cpp
+++ b/src/libsync/syncengine.cpp
@@ -847,6 +847,8 @@ void SyncEngine::slotDiscoveryJobFinished(int discoveryResult)
_hasNoneFiles = false;
_hasRemoveFile = false;
+ _hasForwardInTimeFiles = false;
+ _backInTimeFiles = 0;
bool walkOk = true;
_seenFiles.clear();
_temporarilyUnavailablePaths.clear();
--
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