Stupid bug that causes us to never check the hash and never send HAVE messages

This commit is contained in:
Eric Petit 2007-01-15 18:18:06 +00:00
parent cc3bf0cab9
commit a768ecf0d2
1 changed files with 0 additions and 5 deletions

View File

@ -154,11 +154,6 @@ int tr_ioHash( tr_io_t * io, int index )
int ret; int ret;
int i; int i;
if( !tr_cpPieceIsComplete( tor->completion, index ) )
{
return TR_ERROR_ASSERT;
}
pieceSize = tr_pieceSize( index ); pieceSize = tr_pieceSize( index );
pieceBuf = malloc( pieceSize ); pieceBuf = malloc( pieceSize );
if( ( ret = readBytes( io, (uint64_t) io->pieceSlot[index] * if( ( ret = readBytes( io, (uint64_t) io->pieceSlot[index] *