mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
fix failed buildin
This commit is contained in:
parent
335ff66baa
commit
169e717474
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue