The big NULL replacement party part 1.
This is meant to be a safer alternative since NULL can often be 0. Let's not rely on that. And yes, I know this is a lot of files. This is a safer thing to do in big commits vs for loops.
This commit is contained in:
@@ -475,7 +475,7 @@ void NetworkStream_Win32::Cancel()
|
||||
m_State = STATE_CANCELLED;
|
||||
|
||||
// If resolving, abort the resolve.
|
||||
if( m_hResolve != NULL )
|
||||
if( m_hResolve != nullptr )
|
||||
{
|
||||
/* When we cancel the request, no message at all will be sent to the window,
|
||||
* so we need to do it ourself to inform it that it was cancelled. Be sure
|
||||
|
||||
Reference in New Issue
Block a user