diff --git a/src/network/timeout.c b/src/network/timeout.c index 0c32cff..c986d41 100644 --- a/src/network/timeout.c +++ b/src/network/timeout.c @@ -35,7 +35,7 @@ void timeout_evt_reset(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)