1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Backport fix.

This commit is contained in:
Sandu Liviu Catalin 2020-04-20 04:54:46 +03:00
parent 5393b62892
commit 405c2920e7

View File

@ -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;