mirror of
https://github.com/transmission/transmission
synced 2025-02-05 14:04:15 +00:00
fix the "swarm speed" bug reported by Gimp_
This commit is contained in:
parent
7b2a707c8e
commit
89564dc3c2
1 changed files with 1 additions and 0 deletions
|
@ -934,6 +934,7 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf )
|
|||
tr_peerIoReadUint32( msgs->io, inbuf, &ui32 );
|
||||
tr_bitfieldAdd( msgs->info->have, ui32 );
|
||||
updatePeerProgress( msgs );
|
||||
tr_rcTransferred( msgs->torrent->swarmspeed, msgs->torrent->info.pieceSize );
|
||||
dbgmsg( msgs, "got Have: %u", ui32 );
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue