mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-21 10:27:36 +02:00
clarify protocol error message
This commit is contained in:
parent
4caaa08ade
commit
a99bea9d3b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue