Unverified Commit e466a938 authored by Mike Gabriel's avatar Mike Gabriel

Merge branch 'theqvd-fix-accept-host-message' into 3.6.x

parents 2b8f5926 77188865
...@@ -6685,11 +6685,11 @@ int WaitForRemote(ChannelEndPoint &socketAddress) ...@@ -6685,11 +6685,11 @@ int WaitForRemote(ChannelEndPoint &socketAddress)
goto WaitForRemoteError; goto WaitForRemoteError;
} }
strcpy(hostLabel, "any host"); snprintf(hostLabel, sizeof(hostLabel), "'%s'", acceptHost);
} }
else else
{ {
snprintf(hostLabel, sizeof(hostLabel), "'%s'", acceptHost); strcpy(hostLabel, "any host");
} }
if (loopbackBind) if (loopbackBind)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment