Merge pull request #4264 from the-wes/master

clarify protocol error message
This commit is contained in:
the-wes 2014-12-08 10:42:16 -08:00
commit f148ff0bb3
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ Client::handleHello(const Event&, void*)
{ {
SInt16 major, minor; SInt16 major, minor;
if (!ProtocolUtil::readf(m_stream, kMsgHello, &major, &minor)) { if (!ProtocolUtil::readf(m_stream, kMsgHello, &major, &minor)) {
sendConnectionFailedEvent("Protocol error from server"); sendConnectionFailedEvent("Protocol error from server, check encryption settings");
cleanupTimer(); cleanupTimer();
cleanupConnection(); cleanupConnection();
return; return;