clarify protocol error message

This commit is contained in:
the-wes 2014-12-05 16:59:39 -08:00
parent 4caaa08ade
commit a99bea9d3b
1 changed files with 1 additions and 1 deletions

View File

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