aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index fffa039fa..093b133cd 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);
}
}