1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 18:18:10 +00:00

accidentally checked in a debugging statement

This commit is contained in:
Charles Kerr 2007-08-19 02:23:35 +00:00
parent 027fa13c5b
commit 7b2a9f274a

View file

@ -198,7 +198,6 @@ getConnection( const char * address, int port )
tr_ptrArrayInsertSorted( connections, val, connectionCompare );
}
fprintf( stderr, "got a connection to [%s] port [%d]: %p\n", address, port, val->evconn );
return val->evconn;
}
@ -653,13 +652,11 @@ onScrapeResponse( struct evhttp_request * req, void * vt )
int i, n;
Torrent ** torrents = (Torrent**)
tr_ptrArrayPeek( t->scraping, &n );
for( i=0; i<n; ++i ) {
fprintf( stderr, "null req -- torent #%d is %s\n", i, torrents[i]->torrent->info.name );
for( i=0; i<n; ++i )
torrents[i]->scrapeTag = tr_timerNew( t->handle,
onTorrentScrapeNow,
torrents[i], NULL,
t->scrapeIntervalMsec );
}
tr_ptrArrayClear( t->scraping );
t->multiscrapeMax = INT_MAX;