Changeset 12252


Ignore:
Timestamp:
Mar 29, 2011, 1:47:17 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) fix bitfield assertion failure due to invalid assumption in tr_bitfieldIsValid()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bitfield.c

    r12251 r12252  
    117117{
    118118    return ( b != NULL )
    119         && ( b->bits || ( tr_bitfieldHasAll( b ) || tr_bitfieldHasNone( b )))
    120119        && ( b->byte_count <= b->bit_count )
    121120        && ( b->true_count <= b->bit_count )
Note: See TracChangeset for help on using the changeset viewer.