summaryrefslogtreecommitdiffstats
path: root/eloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'eloop.c')
-rw-r--r--eloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eloop.c b/eloop.c
index c72f0c5b..ae9d5009 100644
--- a/eloop.c
+++ b/eloop.c
@@ -575,6 +575,7 @@ eloop_q_timeout_delete(struct eloop *eloop, int queue,
assert(eloop != NULL);
+ //Piers: Delete timeout if it matches OR is called with NULL
TAILQ_FOREACH_SAFE(t, &eloop->timeouts, next, tt) {
if ((queue == 0 || t->queue == queue) &&
t->arg == arg &&