mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-10-22 05:27:10 +02:00
Backport fix.
This commit is contained in:
1 parent
5393b62892
commit
405c2920e7
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user