mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
Log the correct proxy type on failure.
get_proxy_addrport fills in proxy_type with the correct value, so there is no point in logging something that's a "best guess" based off the config.
This commit is contained in:
parent
cd56b1a86e
commit
1210bdf146
@ -4841,7 +4841,7 @@ log_failed_proxy_connection(connection_t *conn)
|
||||
log_warn(LD_NET,
|
||||
"The connection to the %s proxy server at %s just failed. "
|
||||
"Make sure that the proxy server is up and running.",
|
||||
proxy_type_to_string(get_proxy_type()),
|
||||
proxy_type_to_string(proxy_type),
|
||||
fmt_addrport(&proxy_addr, proxy_port));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user