From 7f8ef25acce9057983d52893f1b4e3a3236564ca Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 7 Jun 2008 21:28:47 +0000 Subject: [PATCH] whoops, left some test scaffolding code in r6073 --- libtransmission/peer-mgr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libtransmission/peer-mgr.c b/libtransmission/peer-mgr.c index b74a8a0cb..29a3e2ef9 100644 --- a/libtransmission/peer-mgr.c +++ b/libtransmission/peer-mgr.c @@ -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) && iblockSize) - (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 );