From 320c125d172d16bf42ab7402571989a04739965a Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 8 Aug 2007 07:35:57 +0000 Subject: [PATCH] - Added some more debug --- src/bittorrent.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index c9f7868f8..25be1e594 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -682,6 +682,7 @@ void bittorrent::saveFastResumeAndRatioData(){ h.pause(); QString fileHash = QString(misc::toString(h.info_hash()).c_str()); while(!receivedPausedAlert(fileHash)){ + qDebug("Sleeping while waiting that %s is paused", misc::toString(h.info_hash()).c_str()); SleeperThread::msleep(500); readAlerts(); } @@ -791,6 +792,7 @@ session* bittorrent::getSession() const{ // Set upload rate limit // -1 to disable void bittorrent::setUploadRateLimit(long rate){ + qDebug("set upload_limit to %fkb/s", rate/1024.); s->set_upload_rate_limit(rate); }