From: Charles Kerr Date: Sat, 25 Apr 2009 19:22:27 +0000 (+0000) Subject: undo r8288 X-Git-Tag: 1.60~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=114e6b3626ddf1bff0edf2c4cf0d32da4d0787d3;p=transmission undo r8288 --- diff --git a/libtransmission/bandwidth.c b/libtransmission/bandwidth.c index 21629c121..4672cfdde 100644 --- a/libtransmission/bandwidth.c +++ b/libtransmission/bandwidth.c @@ -217,7 +217,7 @@ phaseOne( tr_ptrArray * peerArray, tr_direction dir ) dbgmsg( "peer #%d of %d used %d bytes in this pass", i, n, bytesUsed ); - if( bytesUsed > 0 ) + if( bytesUsed == (int)increment ) ++i; else { /* peer is done writing for now; move it to the end of the list */