diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2014-05-01 03:43:53 +0000 |
---|---|---|
committer | Yawning Angel <yawning@schwanenlied.me> | 2014-05-21 08:14:39 +0000 |
commit | 1210bdf146d707e3166c9ce881fdee67e5fa32ac (patch) | |
tree | 5210703557156b8faedbfd6a238811d6fef952fe /src/or/connection.c | |
parent | cd56b1a86ea255ba4bfc77959a88bfcd616ef516 (diff) | |
download | tor-1210bdf146d707e3166c9ce881fdee67e5fa32ac.tar.gz tor-1210bdf146d707e3166c9ce881fdee67e5fa32ac.zip |
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.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index ff8cdf1b4a..5069ed6412 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -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)); } |