(trunk libT) #1791: debug message cleanup in tracker.c

This commit is contained in:
Charles Kerr 2009-02-06 21:17:23 +00:00
parent eb538aa492
commit e04fe5daaf
1 changed files with 5 additions and 5 deletions

View File

@ -685,16 +685,16 @@ onScrapeResponse( tr_session * session,
if( 200 <= responseCode && responseCode <= 299 ) if( 200 <= responseCode && responseCode <= 299 )
{ {
const int interval = t->scrapeIntervalSec + t->randOffset; const int interval = t->scrapeIntervalSec + t->randOffset;
dbgmsg( t->name, "request succeeded. rescraping in %d seconds", dbgmsg( t->name, "Request succeeded. Rescraping in %d seconds",
interval ); interval );
tr_ndbg( t->name, "request succeeded. rescraping in %d seconds", tr_ndbg( t->name, "Request succeeded. Rescraping in %d seconds",
interval ); interval );
t->scrapeAt = time( NULL ) + interval; t->scrapeAt = time( NULL ) + interval;
} }
else if( 300 <= responseCode && responseCode <= 399 ) else if( 300 <= responseCode && responseCode <= 399 )
{ {
const int interval = 5; const int interval = 5;
dbgmsg( t->name, "got a redirect. retrying in %d seconds", interval ); dbgmsg( t->name, "Got a redirect. Retrying in %d seconds", interval );
t->scrapeAt = time( NULL ) + interval; t->scrapeAt = time( NULL ) + interval;
} }
else else