ws2_32: Fix an error return value in bind().
This commit is contained in:
parent
f45874ae28
commit
a46441bd02
|
@ -1429,7 +1429,7 @@ int WINAPI WS_bind(SOCKET s, const struct WS_sockaddr* name, int namelen)
|
|||
{
|
||||
release_sock_fd( s, fd );
|
||||
SetLastError(WSAEAFNOSUPPORT);
|
||||
return INVALID_SOCKET;
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue