Crash fix.

This commit is contained in:
Jan Vidar Krey 2010-01-18 21:57:51 +01:00
parent 001fa6739a
commit af8421fa47
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}