[quake3-commits] r2256 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 18 12:03:06 EDT 2012


Author: ztm
Date: 2012-06-18 12:03:06 -0400 (Mon, 18 Jun 2012)
New Revision: 2256

Modified:
   trunk/code/qcommon/net_ip.c
Log:
fix wrong socket ID comparison, from /dev/humancontroller

Modified: trunk/code/qcommon/net_ip.c
===================================================================
--- trunk/code/qcommon/net_ip.c	2012-06-18 16:00:38 UTC (rev 2255)
+++ trunk/code/qcommon/net_ip.c	2012-06-18 16:03:06 UTC (rev 2256)
@@ -1533,7 +1533,7 @@
 			ip_socket = INVALID_SOCKET;
 		}
 
-		if(multicast6_socket)
+		if(multicast6_socket != INVALID_SOCKET)
 		{
 			if(multicast6_socket != ip6_socket)
 				closesocket(multicast6_socket);



More information about the quake3-commits mailing list