From 1adcd50fd67592ae53cf9e5e62bdc34ff5b58480 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 18 Jun 2012 16:03:06 +0000 Subject: fix wrong socket ID comparison, from /dev/humancontroller --- src/qcommon/net_ip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon') diff --git a/src/qcommon/net_ip.c b/src/qcommon/net_ip.c index 0b494dc8..f7531c6e 100644 --- a/src/qcommon/net_ip.c +++ b/src/qcommon/net_ip.c @@ -1530,7 +1530,7 @@ void NET_Config( qboolean enableNetworking ) { ip_socket = INVALID_SOCKET; } - if(multicast6_socket) + if(multicast6_socket != INVALID_SOCKET) { if(multicast6_socket != ip6_socket) closesocket(multicast6_socket); -- cgit