Commit a46441bd authored by Alexandre Julliard's avatar Alexandre Julliard

ws2_32: Fix an error return value in bind().

parent f45874ae
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment