undo r8288

This commit is contained in:
Charles Kerr 2009-04-25 19:22:27 +00:00
parent 94c1b90fe1
commit 114e6b3626
1 changed files with 1 additions and 1 deletions

View File

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