summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-21 19:48:38 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-21 19:48:38 -0400
commitb7fdb3a92715e1f3c37f84676d6f9e89188c5518 (patch)
tree571e10f9878a9251e6f5e69358b559ce923f2998 /src
parent655782f302ed7b4ab0a98e61095f7a664042f2b0 (diff)
downloadtor-b7fdb3a92715e1f3c37f84676d6f9e89188c5518.tar.gz
tor-b7fdb3a92715e1f3c37f84676d6f9e89188c5518.zip
add changes file and whitespace fixes for bug 4020
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 79beb17274..6f946ce987 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4351,11 +4351,13 @@ warn_nonlocal_client_ports(const smartlist_t *ports, const char *portname)
log_warn(LD_CONFIG, "You specified a public address '%s:%d' for %sPort. "
"Other people on the Internet might find your computer and "
"use it as an open proxy. Please don't allow this unless you "
- "have a good reason.", fmt_addr(&port->addr), port->port, portname);
+ "have a good reason.",
+ fmt_addr(&port->addr), port->port, portname);
} else if (!tor_addr_is_loopback(&port->addr)) {
- log_notice(LD_CONFIG, "You configured a non-loopback address '%s:%d' for "
- "%sPort. This allows everybody on your local network to use "
- "your machine as a proxy. Make sure this is what you wanted.",
+ log_notice(LD_CONFIG, "You configured a non-loopback address '%s:%d' "
+ "for %sPort. This allows everybody on your local network to "
+ "use your machine as a proxy. Make sure this is what you "
+ "wanted.",
fmt_addr(&port->addr), port->port, portname);
}
} SMARTLIST_FOREACH_END(port);