mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-05 01:37:13 +02:00
Backport fix.
This commit is contained in:
parent
5393b62892
commit
405c2920e7
2
module/Vendor/SimpleSocket/SimpleSocket.cpp
vendored
2
module/Vendor/SimpleSocket/SimpleSocket.cpp
vendored
@ -499,7 +499,7 @@ bool CSimpleSocket::Shutdown(CShutdownMode nShutdown)
|
|||||||
{
|
{
|
||||||
CSocketError nRetVal = SocketEunknown;
|
CSocketError nRetVal = SocketEunknown;
|
||||||
|
|
||||||
nRetVal = (CSocketError)shutdown(m_socket, CSimpleSocket::Sends);
|
nRetVal = (CSocketError)shutdown(m_socket, nShutdown);
|
||||||
TranslateSocketError();
|
TranslateSocketError();
|
||||||
|
|
||||||
return (nRetVal == CSimpleSocket::SocketSuccess) ? true: false;
|
return (nRetVal == CSimpleSocket::SocketSuccess) ? true: false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user