diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-08-01 18:39:47 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-08-01 18:39:47 (GMT) |
commit | f40ce8ee1ec79ba6b1a9d6d88de15a0b8dcc60ab (patch) | |
tree | 78b7cff40b84e117e7f07aa3f9ddb3f14661f6a9 | |
parent | c53c638015097569a2408ae93723bfe667f27ebc (diff) | |
download | swift-contrib-f40ce8ee1ec79ba6b1a9d6d88de15a0b8dcc60ab.zip swift-contrib-f40ce8ee1ec79ba6b1a9d6d88de15a0b8dcc60ab.tar.bz2 |
Fixed incorrect state check.
-rw-r--r-- | Swiften/Client/ClientSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Client/ClientSession.cpp b/Swiften/Client/ClientSession.cpp index 2c130c3..720bc6d 100644 --- a/Swiften/Client/ClientSession.cpp +++ b/Swiften/Client/ClientSession.cpp @@ -270,7 +270,7 @@ void ClientSession::sendCredentials(const String& password) { } void ClientSession::handleTLSEncrypted() { - checkState(WaitingForEncrypt); + checkState(Encrypting); state = WaitingForStreamStart; stream->resetXMPPParser(); sendStreamHeader(); |