fixed typo in the connection implementation file

This commit is contained in:
Michael van der Werve 2014-08-20 12:03:15 +02:00
parent 36734671cc
commit 53b2bd9f0d
1 changed files with 5 additions and 5 deletions

View File

@ -254,7 +254,7 @@ void ConnectionImpl::setConnected()
// if the close method was called before, and no channel is waiting // if the close method was called before, and no channel is waiting
// for an answer, we can now safely send out the close frame // 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();
} }
/** /**