fixed typo in the connection implementation file
This commit is contained in:
parent
36734671cc
commit
53b2bd9f0d
|
|
@ -254,7 +254,7 @@ void ConnectionImpl::setConnected()
|
|||
|
||||
// if the close method was called before, and no channel is waiting
|
||||
// for an answer, we can now safely send out the close frame
|
||||
if (_closed && state == _state_connected && !waiting()) sendClose();
|
||||
if (_closed && _state == state_connected && !waiting()) sendClose();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue