Changeset 7040
- Timestamp:
- Nov 4, 2008, 7:40:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/web.c
r6999 r7040 195 195 CURLMsg * msg; 196 196 int msgs_left; 197 CURLcode res;198 197 199 198 easy = NULL; … … 201 200 if( msg->msg == CURLMSG_DONE ) { 202 201 easy = msg->easy_handle; 203 res = msg->data.result;204 202 break; 205 203 } … … 405 403 * before you call curl_multi_perform() again." */ 406 404 static void 407 multi_timer_cb( CURLM *multi UNUSED, long timer_ms, void * g ) 408 { 405 multi_timer_cb( CURLM *multi UNUSED, long timer_ms, void * vg ) 406 { 407 tr_web * g = vg; 408 409 409 if( timer_ms < 1 ) { 410 410 if( timer_ms == 0 ) /* call it immediately */ … … 412 412 timer_ms = DEFAULT_TIMER_MSEC; 413 413 } 414 415 g->timer_ms = timer_ms; 414 416 restart_timer( g ); 415 417 }
Note: See TracChangeset
for help on using the changeset viewer.