From ee4a29d2006d163bfe6d62ff38288497a5c45035 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 6 Mar 2010 15:27:18 +0000 Subject: [PATCH] (trunk libT) #2987 minor correction to r10303 -- silence a compiler warning and turn off some debug messages that printed to stderr. --- libtransmission/web.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtransmission/web.c b/libtransmission/web.c index 967fec059..fc148d2c8 100644 --- a/libtransmission/web.c +++ b/libtransmission/web.c @@ -275,7 +275,7 @@ tr_webThreadFunc( void * vsession ) while(( task = tr_list_pop_front( &web->tasks ))) { curl_multi_add_handle( multi, createEasy( session, web, task )); - fprintf( stderr, "adding a task.. taskCount is now %d\n", taskCount ); + /*fprintf( stderr, "adding a task.. taskCount is now %d\n", taskCount );*/ ++taskCount; } tr_lockUnlock( web->taskLock ); @@ -321,7 +321,7 @@ tr_webThreadFunc( void * vsession ) curl_easy_getinfo( e, CURLINFO_RESPONSE_CODE, &task->code ); curl_multi_remove_handle( multi, e ); curl_easy_cleanup( e ); -fprintf( stderr, "removing a completed task.. taskCount is now %d (response code: %d, response len: %d)\n", taskCount, (int)task->code, EVBUFFER_LENGTH(task->response) ); +/*fprintf( stderr, "removing a completed task.. taskCount is now %d (response code: %d, response len: %d)\n", taskCount, (int)task->code, (int)EVBUFFER_LENGTH(task->response) );*/ tr_runInEventThread( task->session, task_finish_func, task ); --taskCount; }