1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

#1034: fix optimistic unchoke bug reported by Aloisius

This commit is contained in:
Charles Kerr 2008-06-17 15:19:12 +00:00
parent 16e3803082
commit 81b510bfd1

View file

@ -1618,7 +1618,7 @@ rechoke( Torrent * t )
if( isNew( peer ) ) x *= 3; if( isNew( peer ) ) x *= 3;
if( isSame( peer ) ) x *= 3; if( isSame( peer ) ) x *= 3;
for( y=0; y<x; ++y ) for( y=0; y<x; ++y )
tr_ptrArrayAppend( randPool, choke ); tr_ptrArrayAppend( randPool, &choke[i] );
} }
} }