mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Re-define nil as nullptr, cleaning up some potential issues along the way
This commit is contained in:
@ -770,7 +770,7 @@ static unsigned THREADCALL ListenThreadProc (AsyncThread *) {
|
||||
for (NtOpConnAttempt * op; (op = s_connectList.Head()) != nil; s_connectList.Unlink(op)) {
|
||||
if (op->hSocket != INVALID_SOCKET) {
|
||||
closesocket(op->hSocket);
|
||||
op->hSocket = nil;
|
||||
op->hSocket = 0;
|
||||
}
|
||||
INtConnPostOperation(nil, op, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user