aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-02-26 05:36:02 +0000
committerRoger Dingledine <arma@torproject.org>2007-02-26 05:36:02 +0000
commit522a97098beccf8c6410fe903266ced5d2f4577d (patch)
tree0785151faaea1df374b7d449570383a1e6c5106f /src/or/directory.c
parent9e44449946623a50d9f51dfcea0b765a7bdeec91 (diff)
downloadtor-522a97098beccf8c6410fe903266ced5d2f4577d.tar.gz
tor-522a97098beccf8c6410fe903266ced5d2f4577d.zip
more cleanups; getting closer
svn:r9655
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 0dc2eccf0d..d3e582ce7b 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -712,7 +712,8 @@ http_set_address_origin(const char *headers, connection_t *conn)
if (fwd) {
struct in_addr in;
if (!tor_inet_aton(fwd, &in) || is_internal_IP(ntohl(in.s_addr), 0)) {
- log_debug(LD_DIR, "Ignoring unrecognized or internal IP '%s'", fwd);
+ log_debug(LD_DIR, "Ignoring unrecognized or internal IP %s",
+ escaped(fwd));
tor_free(fwd);
return;
}