diff options
Diffstat (limited to 'zen/socket.h')
-rw-r--r-- | zen/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/socket.h b/zen/socket.h index 7ca0c93f..827d446b 100644 --- a/zen/socket.h +++ b/zen/socket.h @@ -142,7 +142,7 @@ size_t tryWriteSocket(SocketType socket, const void* buffer, size_t bytesToWrite inline void shutdownSocketSend(SocketType socket) //throw SysError { - if (::shutdown(socket, SHUT_WR) != 0) + if (::shutdown(socket, SHUT_WR) != 0) THROW_LAST_SYS_ERROR_WSA(L"shutdown"); } |