mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Log proxy host correctly in Event Log.
We were showing the destination hostname -- oops.
This commit is contained in:
parent
88f4c4775d
commit
bff4b6a2d5
2
proxy.c
2
proxy.c
@ -518,7 +518,7 @@ Socket new_connection(SockAddr addr, const char *hostname,
|
|||||||
|
|
||||||
{
|
{
|
||||||
char addrbuf[256], *logmsg;
|
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",
|
logmsg = dupprintf("Connecting to %s proxy at %s port %d",
|
||||||
proxy_type, addrbuf,
|
proxy_type, addrbuf,
|
||||||
conf_get_int(conf, CONF_proxy_port));
|
conf_get_int(conf, CONF_proxy_port));
|
||||||
|
Loading…
Reference in New Issue
Block a user