(trunk libT) #4215 "bug in unchoking algorithm" -- fixed.
This commit is contained in:
parent
9753aa6183
commit
92ad42e10c
|
@ -2891,7 +2891,7 @@ rechokeDownloads( Torrent * t )
|
|||
while( n > 0 )
|
||||
{
|
||||
const int i = tr_cryptoWeakRandInt( n );
|
||||
tr_peer * peer = tr_ptrArrayNth( &t->peers, i );
|
||||
tr_peer * peer = peers[i];
|
||||
|
||||
if( !isPeerInteresting( t->tor, peer ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue