From c4604a7e9455ff1c2dad50dc9d3d34f6a7af09d7 Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Tue, 23 Mar 2010 00:46:25 +0100 Subject: [PATCH] Make code clearer. --- src/network/timeout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)