Commit 77188865 authored by Vadim Troshchinskiy's avatar Vadim Troshchinskiy

Fix reversed logic in acceptHost setting

parent 2b8f5926
......@@ -6685,11 +6685,11 @@ int WaitForRemote(ChannelEndPoint &socketAddress)
goto WaitForRemoteError;
}
strcpy(hostLabel, "any host");
snprintf(hostLabel, sizeof(hostLabel), "'%s'", acceptHost);
}
else
{
snprintf(hostLabel, sizeof(hostLabel), "'%s'", acceptHost);
strcpy(hostLabel, "any host");
}
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