mirror of
https://github.com/transmission/transmission
synced 2025-03-03 10:15:45 +00:00
#1302: possible fix
This commit is contained in:
parent
7f9d71e6ff
commit
aba2849375
1 changed files with 1 additions and 2 deletions
|
@ -2457,8 +2457,7 @@ pumpAllPeers( tr_peerMgr * mgr )
|
|||
for( i = 0; i < torrentCount; ++i )
|
||||
{
|
||||
Torrent * t = tr_ptrArrayNth( mgr->torrents, i );
|
||||
const int peerCount = tr_ptrArraySize( t->peers );
|
||||
for( j = 0; j < peerCount; ++j )
|
||||
for( j = 0; j < tr_ptrArraySize( t->peers ); ++j )
|
||||
{
|
||||
tr_peer * peer = tr_ptrArrayNth( t->peers, j );
|
||||
tr_peerMsgsPulse( peer->msgs );
|
||||
|
|
Loading…
Reference in a new issue