From 459bea37f963008065a0a3c55a95fee58c20b26c Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 26 Sep 2009 13:21:46 +0000 Subject: [PATCH] (trunk libT) remove a couple more debugging printf() calls --- libtransmission/announcer.c | 2 -- libtransmission/web.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/libtransmission/announcer.c b/libtransmission/announcer.c index 5844a21b4..2b7dcb744 100644 --- a/libtransmission/announcer.c +++ b/libtransmission/announcer.c @@ -1097,7 +1097,6 @@ parseAnnounceResponse( tr_tier * tier, if( bencLoaded ) tr_bencFree( &benc ); -fprintf( stderr, "scrapeField count is %d\n", scrapeFields ); *gotScrape = scrapeFields >= 2; return success; @@ -1475,7 +1474,6 @@ flushCloseMessages( tr_announcer * announcer ) for( i=0; istops, i ); - fprintf( stderr, "sending close message: [%s]\n", stop->url ); tr_webRun( announcer->session, stop->url, NULL, NULL, NULL ); stopFree( stop ); } diff --git a/libtransmission/web.c b/libtransmission/web.c index b75ede8ec..e32aca6d6 100644 --- a/libtransmission/web.c +++ b/libtransmission/web.c @@ -164,7 +164,6 @@ writeFunc( void * ptr, size_t size, size_t nmemb, void * vtask ) const size_t byteCount = size * nmemb; struct tr_web_task * task = vtask; evbuffer_add( task->response, ptr, byteCount ); -fprintf( stderr, "writing %d bytes to task #%lu [%s], done_func %p\n", (int)(size*nmemb), task->tag, task->url, task->done_func ); dbgmsg( "wrote %zu bytes to task %p's buffer", byteCount, task ); return byteCount; } @@ -192,7 +191,6 @@ addTask( void * vtask ) CURL * easy; long timeout; -fprintf( stderr, "adding task #%lu [%s]\n", task->tag, task->url ); dbgmsg( "adding task #%lu [%s]", task->tag, task->url ); easy = curl_easy_init( ); @@ -275,7 +273,6 @@ task_finish( struct tr_web_task * task, long response_code ) dbgmsg( "finished a web task... response code is %ld", response_code ); dbgmsg( "===================================================" ); -fprintf( stderr, "finishing task #%lu [%s] done_func %p\n", task->tag, task->url, task->done_func ); if( task->done_func != NULL ) task->done_func( task->session, response_code,