Several fixes to correctly use SOCKET (and related) types instead of non-portable variations.
This commit is contained in:

committed by
Marcelo Roberto Jimenez

parent
8eb7d1c1a5
commit
fed316ff3e
@@ -74,7 +74,7 @@ static UPNP_INLINE int sock_close(
|
||||
{
|
||||
int ret = -1;
|
||||
|
||||
if (sock != -1)
|
||||
if (sock != INVALID_SOCKET)
|
||||
ret = UpnpCloseSocket(sock);
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user