diff options
Diffstat (limited to 'otherlibs/win32unix/connect.c')
-rw-r--r-- | otherlibs/win32unix/connect.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/otherlibs/win32unix/connect.c b/otherlibs/win32unix/connect.c index 405eadabd..c8a523de9 100644 --- a/otherlibs/win32unix/connect.c +++ b/otherlibs/win32unix/connect.c @@ -25,9 +25,6 @@ value unix_connect(socket, address) /* ML */ enter_blocking_section(); retcode = connect(s, &sock_addr.s_gen, sock_addr_len); leave_blocking_section(); - if (retcode == -1) { - _dosmaperr(WSAGetLastError()); - uerror("connect", Nothing); - } + if (retcode == -1) unix_error(WSAGetLastError(), "connect", Nothing); return Val_unit; } |