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:
Charles Kerr 2007-09-23 02:11:53 +00:00
parent d8d46517b9
commit 7a54e88d4e
1 changed files with 1 additions and 1 deletions

View File

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