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:
parent
16e3803082
commit
81b510bfd1
1 changed files with 1 additions and 1 deletions
|
@ -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] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue