From 10a81ccf189523b707fbd4016e96bd59971a87b6 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 10 Jan 2005 02:47:50 +0000 Subject: [PATCH] when pruning circuit-wait streams when a dir fetch failed, refer in logs to the destination address, not the address of the application connection. svn:r3330 --- src/or/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/or/main.c b/src/or/main.c index fffa039fa4..093b133cdf 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -416,7 +416,8 @@ void directory_all_unreachable(time_t now) { while ((conn = connection_get_by_type_state(CONN_TYPE_AP, AP_CONN_STATE_CIRCUIT_WAIT))) { conn->has_sent_end = 1; /* it's not connected anywhere, so no need to end */ - log_fn(LOG_NOTICE,"Network down? Failing connection to '%s'.", conn->address); + log_fn(LOG_NOTICE,"Network down? Failing connection to '%s'.", + conn->socks_address->address); connection_mark_for_close(conn); } } -- 2.47.3