diff options
author | Linus Nordberg <linus@nordberg.se> | 2011-11-29 11:00:43 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-30 11:55:46 -0500 |
commit | 32d10bdfb3a55fe3752f85a7937e1f3f5c7e2c56 (patch) | |
tree | 876474c9c79c47d29d00f83e3204185520454bc0 /src/or/config.c | |
parent | 39ec781b8fa164dd2b68cec349f2b38d81fa3cbb (diff) | |
download | tor-32d10bdfb3a55fe3752f85a7937e1f3f5c7e2c56.tar.gz tor-32d10bdfb3a55fe3752f85a7937e1f3f5c7e2c56.zip |
Whitespace changes.
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c index c9320f48fe..40b61872fa 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -5918,11 +5918,11 @@ get_first_advertised_port_by_type_af(int listener_type, int address_family) if (cfg->type == listener_type && !cfg->no_advertise && (tor_addr_family(&cfg->addr) == address_family || - tor_addr_family(&cfg->addr) == AF_UNSPEC)) { + tor_addr_family(&cfg->addr) == AF_UNSPEC)) { if (tor_addr_family(&cfg->addr) != AF_UNSPEC || - (address_family == AF_INET && !cfg->ipv6_only) || - (address_family == AF_INET6 && !cfg->ipv4_only)) { - return cfg->port; + (address_family == AF_INET && !cfg->ipv6_only) || + (address_family == AF_INET6 && !cfg->ipv4_only)) { + return cfg->port; } } } SMARTLIST_FOREACH_END(cfg); |