From f40ce8ee1ec79ba6b1a9d6d88de15a0b8dcc60ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Sun, 1 Aug 2010 20:39:47 +0200 Subject: Fixed incorrect state check. 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(); -- cgit v0.10.2-6-g49f6