diff options
Diffstat (limited to 'otherlibs/win32unix/bind.c')
-rw-r--r-- | otherlibs/win32unix/bind.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/otherlibs/win32unix/bind.c b/otherlibs/win32unix/bind.c index 5af7da326..43137fcb9 100644 --- a/otherlibs/win32unix/bind.c +++ b/otherlibs/win32unix/bind.c @@ -21,9 +21,6 @@ value unix_bind(socket, address) /* ML */ int ret; get_sockaddr(address); ret = bind((SOCKET) Handle_val(socket), &sock_addr.s_gen, sock_addr_len); - if (ret == -1) { - _dosmaperr(WSAGetLastError()); - uerror("bind", Nothing); - } + if (ret == -1) unix_error(WSAGetLastError(), "bind", Nothing); return Val_unit; } |