From: Rudolf Polzer Date: Tue, 13 Aug 2013 13:31:24 +0000 (+0200) Subject: fix this X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d1542ef0eace88b70dd9756f944a973430c5610e;p=xonotic%2Fdarkplaces.git fix this --- diff --git a/lhnet.c b/lhnet.c index fe2d6733..c07e2042 100644 --- a/lhnet.c +++ b/lhnet.c @@ -1125,7 +1125,7 @@ void LHNET_CloseSocket(lhnetsocket_t *lhnetsocket) { // unlink from socket list if (lhnetsocket->next == NULL) - return; // invalid! + return; // not registered! lhnetsocket->next->prev = lhnetsocket->prev; lhnetsocket->prev->next = lhnetsocket->next; lhnetsocket->next = NULL;