[Pkg-owncloud-commits] [owncloud-client] 138/211: SyncEngine: De-initialize recursive PROPFIND value correctly
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:38 UTC 2014
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 0fb779d36363648b83988f1d43e5cb4c4f462429
Author: Markus Goetz <markus at woboq.com>
Date: Mon Oct 20 22:23:26 2014 +0200
SyncEngine: De-initialize recursive PROPFIND value correctly
---
csync/src/csync_owncloud.c | 1 +
src/mirall/syncengine.cpp | 3 +++
2 files changed, 4 insertions(+)
diff --git a/csync/src/csync_owncloud.c b/csync/src/csync_owncloud.c
index 8207f76..837ef88 100644
--- a/csync/src/csync_owncloud.c
+++ b/csync/src/csync_owncloud.c
@@ -761,6 +761,7 @@ int owncloud_commit(CSYNC* ctx) {
}
ctx->owncloud_context->is_first_propfind = true;
+ ctx->owncloud_context->dav_session.no_recursive_propfind = true;
/* DEBUG_WEBDAV( "********** vio_module_shutdown" ); */
ctx->owncloud_context->dav_session.ctx = 0;
diff --git a/src/mirall/syncengine.cpp b/src/mirall/syncengine.cpp
index 8e6b457..fa53557 100644
--- a/src/mirall/syncengine.cpp
+++ b/src/mirall/syncengine.cpp
@@ -555,6 +555,9 @@ void SyncEngine::startSync()
qDebug() << "===== Activating recursive PROPFIND (currently" << fileRecordCount << "file records)";
bool no_recursive_propfind = false;
csync_set_module_property(_csync_ctx, "no_recursive_propfind", &no_recursive_propfind);
+ } else {
+ bool no_recursive_propfind = true;
+ csync_set_module_property(_csync_ctx, "no_recursive_propfind", &no_recursive_propfind);
}
csync_set_userdata(_csync_ctx, this);
--
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