aboutsummaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-19 11:56:03 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-19 11:56:03 -0500
commit2e8b8c8698a326597a07020e2f29a79948094f0e (patch)
treef83bc1312909e0834d7ac87f6c07fb6044e9d888 /src/or/relay.c
parentf92b01b9635eb2655a449529d6e7eb30a46bb29f (diff)
downloadtor-2e8b8c8698a326597a07020e2f29a79948094f0e.tar.gz
tor-2e8b8c8698a326597a07020e2f29a79948094f0e.zip
Make check-spaces happier.
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 350353e452..8653d8c461 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -804,8 +804,10 @@ connection_ap_process_end_not_open(
return 0;
}
- if ((tor_addr_family(&addr) == AF_INET && !conn->entry_cfg.ipv4_traffic) ||
- (tor_addr_family(&addr) == AF_INET6 && !conn->entry_cfg.ipv6_traffic)) {
+ if ((tor_addr_family(&addr) == AF_INET &&
+ !conn->entry_cfg.ipv4_traffic) ||
+ (tor_addr_family(&addr) == AF_INET6 &&
+ !conn->entry_cfg.ipv6_traffic)) {
log_fn(LOG_PROTOCOL_WARN, LD_APP,
"Got an EXITPOLICY failure on a connection with a "
"mismatched family. Closing.");