fix wrong socket ID comparison, from /dev/humancontroller

This commit is contained in:
Zack Middleton 2012-06-18 16:03:06 +00:00
parent 2131536d07
commit c16338cfa9

View file

@ -1533,7 +1533,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);