1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Log proxy host correctly in Event Log.

We were showing the destination hostname -- oops.
This commit is contained in:
Jason Andryuk 2017-02-04 14:36:12 +00:00 committed by Jacob Nevins
parent 88f4c4775d
commit bff4b6a2d5

View File

@ -518,7 +518,7 @@ Socket new_connection(SockAddr addr, const char *hostname,
{
char addrbuf[256], *logmsg;
sk_getaddr(addr, addrbuf, lenof(addrbuf));
sk_getaddr(proxy_addr, addrbuf, lenof(addrbuf));
logmsg = dupprintf("Connecting to %s proxy at %s port %d",
proxy_type, addrbuf,
conf_get_int(conf, CONF_proxy_port));