From 8b3a3c285a260d7147fd0515552f1a77b873060b Mon Sep 17 00:00:00 2001 From: Max-Wilhelm Bruker Date: Wed, 9 May 2012 23:28:13 +0200 Subject: [PATCH] additional minor fix wrt issue #42 --- cockatrice/src/remoteclient.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cockatrice/src/remoteclient.cpp b/cockatrice/src/remoteclient.cpp index 42fb602e..a2dfc78e 100644 --- a/cockatrice/src/remoteclient.cpp +++ b/cockatrice/src/remoteclient.cpp @@ -9,7 +9,7 @@ #include "pb/server_message.pb.h" #include "pb/event_server_identification.pb.h" -static const unsigned int protocolVersion = 13; +static const unsigned int protocolVersion = 14; RemoteClient::RemoteClient(QObject *parent) : AbstractClient(parent), timeRunning(0), lastDataReceived(0), messageInProgress(false), handshakeStarted(false), messageLength(0) @@ -180,6 +180,7 @@ void RemoteClient::doDisconnectFromServer() timer->stop(); messageInProgress = false; + handshakeStarted = false; messageLength = 0; QList pc = pendingCommands.values();