]> granicus.if.org Git - transmission/commitdiff
(trunk libT) re-enable the completion sanity tests for the benefit of the nightly...
authorCharles Kerr <charles@transmissionbt.com>
Wed, 7 Jan 2009 17:22:17 +0000 (17:22 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Wed, 7 Jan 2009 17:22:17 +0000 (17:22 +0000)
libtransmission/completion.c

index 2f04d45f2eaadfae27d28f4ac7cc40ac220d3506..79435d6c582552a6f8879e0d4a16fc793feb1bdc 100644 (file)
@@ -221,7 +221,7 @@ tr_cpBlockBitfieldSet( tr_completion * cp, tr_bitfield * blockBitfield )
             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.
         /**
         ***  correctness checks