Stupid bug that causes us to never check the hash and never send HAVE messages
This commit is contained in:
parent
cc3bf0cab9
commit
a768ecf0d2
|
@ -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] *
|
||||||
|
|
Loading…
Reference in New Issue