From 3d56aa476dff428d8dabbab77e7b7ee7213f8168 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Tue, 17 Feb 2004 08:10:07 +0000 Subject: [PATCH] make braces cleaner, bug still persists svn:r1095 --- trunk/src/or/routerlist.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/src/or/routerlist.c b/trunk/src/or/routerlist.c index 5f87f985e2..0d44ffd30f 100644 --- a/trunk/src/or/routerlist.c +++ b/trunk/src/or/routerlist.c @@ -414,13 +414,14 @@ int router_compare_addr_to_exit_policy(uint32_t addr, uint16_t port, if (tmpe->msk == 0 && (port >= tmpe->prt_min && port <= tmpe->prt_max)) { /* The exit policy is accept/reject *:port */ match = 1; - } else if (port >= tmpe->prt_min && port <= tmpe->prt_max) + } else if (port >= tmpe->prt_min && port <= tmpe->prt_max) { if (tmpe->policy_type == EXIT_POLICY_REJECT) { /* The exit policy is reject ???:port */ maybe_reject = 1; } else { /* The exit policy is acccept ???:port */ maybe_accept = 1; + } } } else { /* Address is known */