1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00

fix bitfield error reported by denis

This commit is contained in:
Charles Kerr 2008-06-07 00:43:42 +00:00
parent 7b88afdca7
commit 8732aa3bbc

View file

@ -780,7 +780,7 @@ tr_bitfieldRem( tr_bitfield * bitfield,
if( i >= bitfield->len ) if( i >= bitfield->len )
return -1; return -1;
bitfield->bits[i] &= (0xff7f >> nth&7u); bitfield->bits[i] &= (0xff7f >> (nth&7u));
/*assert( !tr_bitfieldHas( bitfield, nth ) );*/ /*assert( !tr_bitfieldHas( bitfield, nth ) );*/
return 0; return 0;
} }