From ebecef39c0da8366e6af582cf13b459c13105b95 Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 11 Aug 2011 22:23:18 +0200 Subject: [PATCH] fixed missing return --- WHOHandler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/WHOHandler.c b/WHOHandler.c index f2de5a1..b4be93d 100644 --- a/WHOHandler.c +++ b/WHOHandler.c @@ -30,6 +30,7 @@ static struct WHOQueueEntry* addWHOQueueEntry(struct ClientSocket *client) { last_entry->next = entry; if(!first_entry) first_entry = entry; + return entry; } static struct WHOQueueEntry* getNextWHOQueueEntry(struct ClientSocket *client, int freeEntry) { -- 2.20.1