Fix a crash caused by typo in trunk netcode in r7288.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@8850 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
38b7d54ad0
commit
1526b124d2
|
@ -2718,8 +2718,8 @@ receive_message:
|
|||
{
|
||||
// Write error, most likely client disconnect.
|
||||
debug(LOG_ERROR, "Failed to send message: %s", strSockError(getSockErr()));
|
||||
socketClose(connected_bsocket[pMsg->destination]->socket);
|
||||
connected_bsocket[pMsg->destination]->socket = NULL;
|
||||
socketClose(connected_bsocket[j]->socket);
|
||||
connected_bsocket[j]->socket = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue