diff options
author | Roger Dingledine <arma@torproject.org> | 2005-01-06 19:19:13 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-01-06 19:19:13 +0000 |
commit | 1f51809e65d14865aa08a0e9ddf31271537fc12e (patch) | |
tree | d26abe76a2308fa66c0b3a8a9d751275c02d10ac /src/or/relay.c | |
parent | 6d2859c2e57fd189da75cef388dff80b2f6ba132 (diff) | |
download | tor-1f51809e65d14865aa08a0e9ddf31271537fc12e.tar.gz tor-1f51809e65d14865aa08a0e9ddf31271537fc12e.zip |
clean up string printing in relay logs
svn:r3317
Diffstat (limited to 'src/or/relay.c')
-rw-r--r-- | src/or/relay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/relay.c b/src/or/relay.c index 0773ebd1cd..661280c57e 100644 --- a/src/or/relay.c +++ b/src/or/relay.c @@ -507,10 +507,10 @@ connection_edge_process_relay_cell_not_open( } addr = ntohl(get_uint32(cell->payload+RELAY_HEADER_SIZE+1)); if (addr) { - log_fn(LOG_INFO,"Address %s refused due to exit policy. Retrying.", + log_fn(LOG_INFO,"Address '%s' refused due to exit policy. Retrying.", conn->socks_request->address); } else { - log_fn(LOG_INFO,"Address %s resolved to 0.0.0.0. Closing,", + log_fn(LOG_INFO,"Address '%s' resolved to 0.0.0.0. Closing,", conn->socks_request->address); conn->has_sent_end = 1; /* we just got an 'end', don't need to send one */ connection_mark_for_close(conn); @@ -525,7 +525,7 @@ connection_edge_process_relay_cell_not_open( return 0; /* this circuit is screwed and doesn't know it yet */ } if (connection_ap_can_use_exit(conn, exitrouter)) { - log_fn(LOG_NOTICE,"Exitrouter %s seems to be more restrictive than its exit policy. Not using this router as exit for now.", exitrouter->nickname); + log_fn(LOG_NOTICE,"Exitrouter '%s' seems to be more restrictive than its exit policy. Not using this router as exit for now.", exitrouter->nickname); addr_policy_free(exitrouter->exit_policy); exitrouter->exit_policy = router_parse_addr_policy_from_string("reject *:*"); |