[or-cvs] Functions work better when you call them. Resolve a bug whi...

Nick Mathewson nickm at seul.org
Sat May 7 05:17:38 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv23275/src/or

Modified Files:
	router.c 
Log Message:
Functions work better when you call them. Resolve a bug which would prevent unreachable dirports from getting suppressed.

Index: router.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -d -r1.170 -r1.171
--- router.c	3 May 2005 10:04:08 -0000	1.170
+++ router.c	7 May 2005 05:17:36 -0000	1.171
@@ -834,7 +834,7 @@
     router->nickname,
     router->address,
     router->or_port,
-    check_whether_dirport_reachable ? router->dir_port : 0,
+    check_whether_dirport_reachable() ? router->dir_port : 0,
     router->platform,
     published,
     fingerprint,



More information about the tor-commits mailing list