diff options
author | Markus Goetz <markus@woboq.com> | 2015-04-13 16:49:33 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2015-04-13 16:54:08 +0300 |
commit | 9d5f5ea3bc10772f6a803aa4c1e66b5a0105e242 (patch) | |
tree | eeda979015c2c9ac3999c7a80ee9c62c4fa8ee95 /src | |
parent | 2dbd27af76f748ebfdcbcd7954005075c878b2da (diff) |
Discovery: Initialize error with EIO in constructor
This is safer, initializing it in remote_vio_opendir_hook was enough though.
Diffstat (limited to 'src')
-rw-r--r-- | src/libsync/discoveryphase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsync/discoveryphase.h b/src/libsync/discoveryphase.h index 5ceb477e3..43dd644b6 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 |