Ignore:
Timestamp:
Jun 11, 2008, 2:19:40 AM (13 years ago)
Author:
charles
Message:

maybe fix the forced-recheck-on-startup bug that pea_, John_Clay, and Gimp_ reported over the last two days

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/completion.c

    r6111 r6132  
    229229    assert( cp->blockBitfield );
    230230
    231     if( !cp || !tr_bitfieldTestFast( bitfield, cp->tor->blockCount ) )
     231    if( !tr_bitfieldTestFast( bitfield, cp->tor->blockCount-1 ) )
    232232        return TR_ERROR_ASSERT;
    233233
Note: See TracChangeset for help on using the changeset viewer.