1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-05 22:12:11 +00:00

fix the "swarm speed" bug reported by Gimp_

This commit is contained in:
Charles Kerr 2007-10-11 04:17:28 +00:00
parent 7b2a707c8e
commit 89564dc3c2

View file

@ -934,6 +934,7 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf )
tr_peerIoReadUint32( msgs->io, inbuf, &ui32 ); tr_peerIoReadUint32( msgs->io, inbuf, &ui32 );
tr_bitfieldAdd( msgs->info->have, ui32 ); tr_bitfieldAdd( msgs->info->have, ui32 );
updatePeerProgress( msgs ); updatePeerProgress( msgs );
tr_rcTransferred( msgs->torrent->swarmspeed, msgs->torrent->info.pieceSize );
dbgmsg( msgs, "got Have: %u", ui32 ); dbgmsg( msgs, "got Have: %u", ui32 );
break; break;