mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
maybe fix the forced-recheck-on-startup bug that pea_, John_Clay, and Gimp_ reported over the last two days
This commit is contained in:
parent
9776f10c65
commit
bc26bcb705
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ tr_cpBlockBitfieldSet( tr_completion * cp, tr_bitfield * bitfield )
|
|||
assert( bitfield );
|
||||
assert( cp->blockBitfield );
|
||||
|
||||
if( !cp || !tr_bitfieldTestFast( bitfield, cp->tor->blockCount ) )
|
||||
if( !tr_bitfieldTestFast( bitfield, cp->tor->blockCount-1 ) )
|
||||
return TR_ERROR_ASSERT;
|
||||
|
||||
tr_cpReset( cp );
|
||||
|
|
Loading…
Reference in a new issue