diff --git a/src/listener.c b/src/listener.c index c161c885b..4ed3db7ba 100644 --- a/src/listener.c +++ b/src/listener.c @@ -181,7 +181,7 @@ struct task *accept_queue_process(struct task *t, void *context, unsigned int st if (!max_accept) tasklet_wakeup(ring->tasklet); - return NULL; + return t; } /* Initializes the accept-queues. Returns 0 on success, otherwise ERR_* flags */