[Pkg-owncloud-commits] [owncloud-client] 97/159: Discovery: Initialize error with EIO in constructor
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri May 1 13:05:30 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 9d5f5ea3bc10772f6a803aa4c1e66b5a0105e242
Author: Markus Goetz <markus at woboq.com>
Date: Mon Apr 13 15:49:33 2015 +0200
Discovery: Initialize error with EIO in constructor
This is safer, initializing it in remote_vio_opendir_hook was enough though.
---
src/libsync/discoveryphase.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libsync/discoveryphase.h b/src/libsync/discoveryphase.h
index 5ceb477..43dd644 100644
--- a/src/libsync/discoveryphase.h
+++ b/src/libsync/discoveryphase.h
@@ -63,7 +63,7 @@ struct DiscoveryDirectoryResult {
int code;
QList<FileStatPointer> list;
int listIndex;
- DiscoveryDirectoryResult() : code(0), listIndex(0) { }
+ DiscoveryDirectoryResult() : code(EIO), listIndex(0) { }
};
// Run in the main thread, reporting to the DiscoveryJobMainThread object
--
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