[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] make braces cleaner, bug still persists



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	routerlist.c 
Log Message:
make braces cleaner, bug still persists


Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerlist.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- routerlist.c	17 Feb 2004 07:56:33 -0000	1.22
+++ routerlist.c	17 Feb 2004 08:10:07 -0000	1.23
@@ -414,13 +414,14 @@
       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 */