(trunk libT) #2987 minor correction to r10303 -- silence a compiler warning and turn off some debug messages that printed to stderr.

This commit is contained in:
Charles Kerr 2010-03-06 15:27:18 +00:00
parent e8cb5367e1
commit ee4a29d200
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}