From d1542ef0eace88b70dd9756f944a973430c5610e Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 13 Aug 2013 15:31:24 +0200 Subject: [PATCH] fix this --- lhnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2