From 47c1908519c8aa84057b18b9e7650d850114ddaf Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 9 Sep 2007 09:20:01 +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 ec2b4d137..50e9a7723 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -162,6 +162,8 @@ void bittorrent::updateETAs() { unsigned int nbETAs = listEtas.size(); Q_ASSERT(nbETAs); foreach(val, listEtas) { + // TODO: Remove this debug when #137223 is fixed + qDebug("old moy: %ld", (long)moy); moy += (qlonglong)((double)val/(double)nbETAs); qDebug("ETA: %ld, nbETAs: %d, moy: %ld", (long)val, nbETAs, (long)moy); Q_ASSERT(moy >= 0);