fixed missing return
authorpk910 <philipp@zoelle1.de>
Thu, 11 Aug 2011 20:23:18 +0000 (22:23 +0200)
committerpk910 <philipp@zoelle1.de>
Thu, 11 Aug 2011 20:23:18 +0000 (22:23 +0200)
WHOHandler.c

index f2de5a1fd1cee519aa4c0a7527406e34576d11db..b4be93d1a06bd46793c87783f8db18c9a4784f2d 100644 (file)
@@ -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) {