X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FWHOHandler.c;h=3ebe0bd186eee6306ae77080d72021e216854735;hb=ee9e9778466f1f9a7f1f2c3991afa138f368a5fe;hp=02f5e6251cded9b19d1674c839d0897a10895b0a;hpb=c172c80ca937bb4a2eb30b86c56c4019bb469c29;p=NeonServV5.git diff --git a/src/WHOHandler.c b/src/WHOHandler.c index 02f5e62..3ebe0bd 100644 --- a/src/WHOHandler.c +++ b/src/WHOHandler.c @@ -70,7 +70,7 @@ static struct WHOQueueEntry* getNextWHOQueueEntry(struct ClientSocket *client, i if(entry == first_entry) first_entry = entry->next; if(entry == last_entry) { - struct WHOQueueEntry *last; + struct WHOQueueEntry *last = NULL; for(last = first_entry; last; last = last->next) if(last->next == NULL) break; last_entry = last;