[Pkg-owncloud-commits] [owncloud-client] 135/164: Logging: Print instruction when job completed.

Sandro Knauß hefee-guest at moszumanska.debian.org
Sun Mar 22 11:57:05 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 9249d6c2f96cffe1a0edff166fd3d28d58b3024d
Author: Christian Kamm <kamm at incasoftware.de>
Date:   Thu Mar 12 10:26:44 2015 +0100

    Logging: Print instruction when job completed.
---
 src/libsync/syncengine.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/libsync/syncengine.cpp b/src/libsync/syncengine.cpp
index ad24e45..55e2639 100644
--- a/src/libsync/syncengine.cpp
+++ b/src/libsync/syncengine.cpp
@@ -21,7 +21,6 @@
 #include "syncjournalfilerecord.h"
 #include "discoveryphase.h"
 #include "creds/abstractcredentials.h"
-#include "csync_util.h"
 #include "syncfilestatus.h"
 #include "csync_private.h"
 
@@ -51,6 +50,7 @@
 #ifdef USE_NEON
 extern "C" int owncloud_commit(CSYNC* ctx);
 #endif
+extern "C" const char *csync_instruction_str(enum csync_instructions_e instr);
 
 namespace OCC {
 
@@ -827,7 +827,8 @@ void SyncEngine::setNetworkLimits(int upload, int download)
 
 void SyncEngine::slotJobCompleted(const SyncFileItem &item)
 {
-    qDebug() << Q_FUNC_INFO << item._file << item._status << item._errorString;
+    const char * instruction_str = csync_instruction_str(item._instruction);
+    qDebug() << Q_FUNC_INFO << item._file << instruction_str << item._status << item._errorString;
 
     /* Update the _syncedItems vector */
     int idx = _syncedItems.indexOf(item);

-- 
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