(trunk libT) one-liner fix for #2544 (launchpad 458735): crash in port forwarding if evtimer gets deleted
This commit is contained in:
parent
d60fa654cb
commit
ea072953c5
|
@ -114,7 +114,8 @@ set_evtimer_from_status( tr_shared * s )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
tr_timerAdd( s->timer, sec, msec );
|
if( s->timer != NULL )
|
||||||
|
tr_timerAdd( s->timer, sec, msec );
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue