refer in logs to the destination address, not the address of the
application connection.
svn:r3330
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);
}
}