diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-04 13:45:56 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-04 13:45:56 +0000 |
commit | 0efc0065fc1c1f1709ffd9abeee1751409c2170a (patch) | |
tree | 7e9e59e604771b609405ed77fff0c938a6205812 /otherlibs/win32unix/connect.c | |
parent | 1e664b94467a65841e63d2dea50cd1f64e8a3258 (diff) |
Debug, tests
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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; } |