fix bug #342 -- some hash checks were incorrectly failing, which caused the `bytes downloaded' field to appear to jump back and forth
This commit is contained in:
parent
d8d46517b9
commit
7a54e88d4e
|
@ -906,7 +906,7 @@ gotBlock( tr_peermsgs * msgs,
|
|||
|
||||
if( tr_cpPieceIsComplete( tor->completion, index ) )
|
||||
{
|
||||
if( !tr_ioHash( tor, index ) )
|
||||
if( tr_ioHash( tor, index ) )
|
||||
{
|
||||
gotBadPiece( msgs, index );
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue