[Pkg-owncloud-commits] [owncloud-client] 64/159: Discovery: Add warning if returned etag is 0
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri May 1 13:05:23 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 7f2213416ab51de249e96a65c04791fdc64f771d
Author: Markus Goetz <markus at woboq.com>
Date: Thu Apr 2 16:52:53 2015 +0200
Discovery: Add warning if returned etag is 0
There will be another bugfix which fixes
https://gist.github.com/jturcotte/3d5a7874d26bc27b1be9
directory.
---
src/libsync/discoveryphase.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp
index 3fb2ca1..f68a697 100644
--- a/src/libsync/discoveryphase.cpp
+++ b/src/libsync/discoveryphase.cpp
@@ -270,6 +270,9 @@ void DiscoverySingleDirectoryJob::directoryListingIteratedSlot(QString file,QMap
csync_vio_file_stat_t *file_stat = propertyMapToFileStat(map);
file_stat->name = strdup(file.toUtf8());
+ if (!file_stat->etag || strlen(file_stat->etag) == 0) {
+ qDebug() << "WARNING: etag of" << file_stat->name << "is" << file_stat->etag << " This must not happen.";
+ }
//qDebug() << "!!!!" << file_stat << file_stat->name << file_stat->file_id << map.count();
_results.append(file_stat);
}
--
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