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
1 changed files with 1 additions and 0 deletions

View File

@ -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;