diff options
Diffstat (limited to 'otherlibs/win32unix/shutdown.c')
-rw-r--r-- | otherlibs/win32unix/shutdown.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/otherlibs/win32unix/shutdown.c b/otherlibs/win32unix/shutdown.c index 313ab5e31..3ee26e0e2 100644 --- a/otherlibs/win32unix/shutdown.c +++ b/otherlibs/win32unix/shutdown.c @@ -23,9 +23,7 @@ value unix_shutdown(sock, cmd) /* ML */ value sock, cmd; { if (shutdown((SOCKET) Handle_val(sock), - shutdown_command_table[Int_val(cmd)]) == -1) { - _dosmaperr(WSAGetLastError()); - uerror("shutdown", Nothing); - } + shutdown_command_table[Int_val(cmd)]) == -1) + unix_error(WSAGetLastError(), "shutdown", Nothing); return Val_unit; } |