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