diff options
author | Zack Middleton <zturtleman@gmail.com> | 2012-06-18 16:03:06 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 20:30:54 +0000 |
commit | 1adcd50fd67592ae53cf9e5e62bdc34ff5b58480 (patch) | |
tree | a2556835b9c6cfd4f8489612ef500312926d879a /src | |
parent | 7f6bc6fdffa00c32d1ed42bad177146466c13871 (diff) |
fix wrong socket ID comparison, from /dev/humancontroller
Diffstat (limited to 'src')
-rw-r--r-- | src/qcommon/net_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |