summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Client/ClientSession.cpp')
-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();