(trunk libT) remove some debugging printf()s that were accidentally committed in r10941

This commit is contained in:
Charles Kerr 2010-07-05 22:49:07 +00:00
parent 841be713d1
commit d4816f7461
1 changed files with 0 additions and 2 deletions

View File

@ -3465,7 +3465,6 @@ getPeerCandidates( tr_session * session, int * candidateCount )
while(( tor = tr_torrentNext( session, tor ))) while(( tor = tr_torrentNext( session, tor )))
n += tr_ptrArraySize( &tor->torrentPeers->pool ); n += tr_ptrArraySize( &tor->torrentPeers->pool );
walk = candidates = tr_new( struct peer_candidate, n ); walk = candidates = tr_new( struct peer_candidate, n );
fprintf( stderr, "nCandidates is %d\n", (int)n );
/* populate the candidate array */ /* populate the candidate array */
tor = NULL; tor = NULL;
@ -3502,7 +3501,6 @@ fprintf( stderr, "nCandidates is %d\n", (int)n );
} }
*candidateCount = walk - candidates; *candidateCount = walk - candidates;
fprintf( stderr, "candidateCount is %d\n", (int)(*candidateCount) );
if( *candidateCount > 1 ) if( *candidateCount > 1 )
qsort( candidates, *candidateCount, sizeof( struct peer_candidate ), comparePeerCandidates ); qsort( candidates, *candidateCount, sizeof( struct peer_candidate ), comparePeerCandidates );
return candidates; return candidates;