diff --git a/module/Vendor/SimpleSocket/SimpleSocket.cpp b/module/Vendor/SimpleSocket/SimpleSocket.cpp index 38b8feab..640ef914 100644 --- a/module/Vendor/SimpleSocket/SimpleSocket.cpp +++ b/module/Vendor/SimpleSocket/SimpleSocket.cpp @@ -499,7 +499,7 @@ bool CSimpleSocket::Shutdown(CShutdownMode nShutdown) { CSocketError nRetVal = SocketEunknown; - nRetVal = (CSocketError)shutdown(m_socket, CSimpleSocket::Sends); + nRetVal = (CSocketError)shutdown(m_socket, nShutdown); TranslateSocketError(); return (nRetVal == CSimpleSocket::SocketSuccess) ? true: false;