diff --git a/libtransmission/web.c b/libtransmission/web.c index 1c93c945e..2042caaca 100644 --- a/libtransmission/web.c +++ b/libtransmission/web.c @@ -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 );