summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-10-31 22:46:07 -0400
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:24 -0500
commit25cf286fb1b2a11f82b3e5a0e7800a2071ec6ed2 (patch)
treef0f01f3be0a4c7fcac6ebf728254a0f324c4ea74 /src/or/config.c
parent0487c0d5798ce125dcaf61f7c8fc8b879d377674 (diff)
downloadtor-25cf286fb1b2a11f82b3e5a0e7800a2071ec6ed2.tar.gz
tor-25cf286fb1b2a11f82b3e5a0e7800a2071ec6ed2.zip
Whitespace cleanup
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 481b6f13b1..98fbb6e585 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4743,7 +4743,6 @@ parse_port_config(smartlist_t *out,
if (!strcasecmpend(elt, "s"))
elt[strlen(elt)-1] = '\0'; /* kill plurals. */
-
if (!strcasecmp(elt, "IsolateDestPort")) {
isoflag = ISO_DESTPORT;
} else if (!strcasecmp(elt, "IsolateDestAddr")) {
@@ -5019,7 +5018,8 @@ check_server_ports(const smartlist_t *ports,
if (! port->no_advertise) {
++n_orport_advertised;
if (tor_addr_family(&port->addr) == AF_INET ||
- (tor_addr_family(&port->addr) == AF_UNSPEC && !port->bind_ipv6_only))
+ (tor_addr_family(&port->addr) == AF_UNSPEC &&
+ !port->bind_ipv6_only))
++n_orport_advertised_ipv4;
}
if (! port->no_listen)