Crash fix.
This commit is contained in:
parent
001fa6739a
commit
af8421fa47
|
@ -36,6 +36,7 @@ void timeout_evt_reset(struct timeout_evt* t)
|
|||
|
||||
int timeout_evt_is_scheduled(struct timeout_evt* t)
|
||||
{
|
||||
if (!t) return 0;
|
||||
return !!t->prev;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue