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
This commit is contained in:
Roger Dingledine
2005-01-10 02:47:50 +00:00
parent eab35efa67
commit 10a81ccf18
+2 -1
View File
@@ -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);
}
}