summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-08-01 18:39:47 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-08-01 18:39:47 (GMT)
commitf40ce8ee1ec79ba6b1a9d6d88de15a0b8dcc60ab (patch)
tree78b7cff40b84e117e7f07aa3f9ddb3f14661f6a9 /Swiften
parentc53c638015097569a2408ae93723bfe667f27ebc (diff)
downloadswift-f40ce8ee1ec79ba6b1a9d6d88de15a0b8dcc60ab.zip
swift-f40ce8ee1ec79ba6b1a9d6d88de15a0b8dcc60ab.tar.bz2
Fixed incorrect state check.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Client/ClientSession.cpp2
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();