[Pkg-owncloud-commits] [owncloud-client] 478/498: AbstractNetworkJob: Make sure to print URL on timeout

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:20 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 2d49f4c844b6e2726fdcd7c4e6f1d768773d79c9
Author: Markus Goetz <markus at woboq.com>
Date:   Thu Aug 6 17:33:33 2015 +0200

    AbstractNetworkJob: Make sure to print URL on timeout
---
 src/libsync/abstractnetworkjob.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libsync/abstractnetworkjob.cpp b/src/libsync/abstractnetworkjob.cpp
index d4442aa..ed675cd 100644
--- a/src/libsync/abstractnetworkjob.cpp
+++ b/src/libsync/abstractnetworkjob.cpp
@@ -231,11 +231,11 @@ void AbstractNetworkJob::start()
 void AbstractNetworkJob::slotTimeout()
 {
     _timedout = true;
-    qDebug() <<  this << "Timeout";
     if (reply()) {
+        qDebug() << Q_FUNC_INFO << this << "Timeout" << reply()->request().url();
         reply()->abort();
     } else {
-        qDebug() << "reply was NULL";
+        qDebug() << Q_FUNC_INFO << this << "Timeout reply was 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