Make code clearer.

This commit is contained in:
Jan Vidar Krey 2010-03-23 00:46:25 +01:00
parent 236daeae53
commit c4604a7e94

View File

@ -35,7 +35,7 @@ void timeout_evt_reset(struct timeout_evt* t)
int timeout_evt_is_scheduled(struct timeout_evt* t) int timeout_evt_is_scheduled(struct timeout_evt* t)
{ {
return !!t->prev; return t->prev != NULL;
} }
void timeout_queue_initialize(struct timeout_queue* t, time_t now, size_t max) void timeout_queue_initialize(struct timeout_queue* t, time_t now, size_t max)