summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-02-17 08:10:07 +0000
committerRoger Dingledine <arma@torproject.org>2004-02-17 08:10:07 +0000
commitd081d1d0611523d71e041f7943e87727616266a5 (patch)
treebf451309305146baf7ecb56de95116ff1db0aa14
parente39bfa8ff94ea2f06cb137dec81abb25091d0823 (diff)
downloadtor-d081d1d0611523d71e041f7943e87727616266a5.tar.gz
tor-d081d1d0611523d71e041f7943e87727616266a5.zip
make braces cleaner, bug still persists
svn:r1095
-rw-r--r--src/or/routerlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 5f87f985e2..0d44ffd30f 100644
--- a/src/or/routerlist.c
+++ b/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 */