1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 11:23:40 +00:00

(trunk libT) one-liner fix for #2544 (launchpad 458735): crash in port forwarding if evtimer gets deleted

This commit is contained in:
Charles Kerr 2009-10-30 03:20:53 +00:00
parent d60fa654cb
commit ea072953c5

View file

@ -114,7 +114,8 @@ set_evtimer_from_status( tr_shared * s )
break;
}
tr_timerAdd( s->timer, sec, msec );
if( s->timer != NULL )
tr_timerAdd( s->timer, sec, msec );
}
static void