1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 01:27:28 +00:00

(trunk libT) re-enable the completion sanity tests for the benefit of the nightly builds

This commit is contained in:
Charles Kerr 2009-01-07 17:22:17 +00:00
parent 141847b902
commit 30ebbdaacb

View file

@ -221,7 +221,7 @@ tr_cpBlockBitfieldSet( tr_completion * cp, tr_bitfield * blockBitfield )
cp->sizeNow += tr_torBlockCountBytes( cp->tor, cp->tor->blockCount-1 ); cp->sizeNow += tr_torBlockCountBytes( cp->tor, cp->tor->blockCount-1 );
} }
#if 0 #if 1
#warning these checks are to see if the implementation is good, since getting this function wrong could make Transmission think their downloaded data has disappeared. But they are also expensive, so this block should be turned off after the nightly build users had a chance to smoke out any errors. #warning these checks are to see if the implementation is good, since getting this function wrong could make Transmission think their downloaded data has disappeared. But they are also expensive, so this block should be turned off after the nightly build users had a chance to smoke out any errors.
/** /**
*** correctness checks *** correctness checks