]> granicus.if.org Git - transmission/commitdiff
whoops, left some test scaffolding code in r6073
authorCharles Kerr <charles@transmissionbt.com>
Sat, 7 Jun 2008 21:28:47 +0000 (21:28 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Sat, 7 Jun 2008 21:28:47 +0000 (21:28 +0000)
libtransmission/peer-mgr.c

index b74a8a0cb43a0fe777e513f14244d79820e21a5b..29a3e2ef93d4283a1e8abf8cc710f3e1145dfc32 100644 (file)
@@ -779,10 +779,6 @@ refillPulse( void * vtorrent )
     webseedCount = tr_ptrArraySize( t->webseeds );
     webseeds = tr_memdup( tr_ptrArrayBase(t->webseeds), webseedCount*sizeof(tr_webseed*) );
 
-
-#warning do not check in this line
-peerCount = 0;
-
     for( i=0; (webseedCount || peerCount) && i<blockCount; ++i )
     {
         int j;
@@ -792,7 +788,6 @@ peerCount = 0;
         const tr_piece_index_t index = tr_torBlockPiece( tor, block );
         const uint32_t begin = (block * tor->blockSize) - (index * tor->info.pieceSize);
         const uint32_t length = tr_torBlockCountBytes( tor, block );
-fprintf( stderr, "next block in the refill pulse is %d\n", (int)block );
 
         assert( tr_torrentReqIsValid( tor, index, begin, length ) );
         assert( _tr_block( tor, index, begin ) == block );