1
0

Socket-related assert fixes

git-svn-id: http://mc-server.googlecode.com/svn/trunk@227 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2012-02-02 16:13:49 +00:00
parent d43a81bae0
commit dca87cd214
3 changed files with 30 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ cBlockingTCPLink::~cBlockingTCPLink()
void cBlockingTCPLink::CloseSocket()
{
if (m_Socket.IsValid())
if (!m_Socket.IsValid())
{
m_Socket.CloseSocket();
}