mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue