1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

fix failed buildin

This commit is contained in:
Charles Kerr 2008-04-24 19:49:13 +00:00
parent 335ff66baa
commit 169e717474

View file

@ -247,8 +247,8 @@ timer_callback( CURLM *multi UNUSED, long timeout_ms, void * vweb )
tr_web * web = vweb;
struct timeval tv = tr_timevalMsec( timeout_ms );
if( evtimer_initialized( &web->timeout ) )
evtimer_del( &web->timeout );
if( evtimer_initialized( &web->timer ) )
evtimer_del( &web->timer );
evtimer_set( &web->timer, timeout_callback, vweb );
evtimer_add( &web->timer, &tv );