http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f45874a
)
ws2_32: Fix an error return value in bind().
author
Alexandre Julliard
<julliard@winehq.org>
Thu, 8 Jan 2009 16:29:27 +0000
(17:29 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Thu, 8 Jan 2009 16:29:31 +0000
(17:29 +0100)
dlls/ws2_32/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ws2_32/socket.c
b/dlls/ws2_32/socket.c
index 078c3bec6279fd5a78efc5b905bf3e0240e0ca33..cabe191bdde7bba704a7ba760256870a1baca3a4 100644
(file)
--- a/
dlls/ws2_32/socket.c
+++ b/
dlls/ws2_32/socket.c
@@
-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