]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix this
authorRudolf Polzer <divverent@xonotic.org>
Tue, 13 Aug 2013 13:31:24 +0000 (15:31 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 13 Aug 2013 13:31:24 +0000 (15:31 +0200)
lhnet.c

diff --git a/lhnet.c b/lhnet.c
index fe2d6733e4571f07fd4f9a27fb05d621acf91f37..c07e20420b4644160a63d5a0b6e0ae0d9894ea14 100644 (file)
--- 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;