[Pkg-owncloud-commits] [owncloud-client] 50/164: Discovery: Preserve the error message.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sun Mar 22 11:56:51 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 1929040bb761b7e46dff6211958e986e9696e623
Author: Klaas Freitag <freitag at owncloud.com>
Date: Tue Feb 24 11:00:24 2015 +0100
Discovery: Preserve the error message.
---
src/libsync/discoveryphase.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/libsync/discoveryphase.cpp b/src/libsync/discoveryphase.cpp
index 41fab73..e9b7016 100644
--- a/src/libsync/discoveryphase.cpp
+++ b/src/libsync/discoveryphase.cpp
@@ -421,6 +421,8 @@ csync_vio_handle_t* DiscoveryJob::remote_vio_opendir_hook (const char *url,
if (directoryResult->code != 0) {
qDebug() << Q_FUNC_INFO << directoryResult->code << "when opening" << url;
errno = directoryResult->code;
+ // save the error string to the context
+ discoveryJob->_csync_ctx->error_string = qstrdup( directoryResult->msg.toUtf8().constData() );
return NULL;
}
--
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