(trunk libT) remove some debugging printf()s that were accidentally committed in r10941
This commit is contained in:
parent
841be713d1
commit
d4816f7461
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue