[or-cvs] and the other half of nick"s backport, the one that actually

arma at seul.org arma at seul.org
Thu Dec 1 02:29:48 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/tor-010x/tor/src/or

Modified Files:
      Tag: tor-0_1_0-patches
	router.c 
Log Message:
and the other half of nick's backport, the one that actually
avoids the infinite loop


Index: router.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.176.2.8
retrieving revision 1.176.2.9
diff -u -d -r1.176.2.8 -r1.176.2.9
--- router.c	1 Dec 2005 02:28:41 -0000	1.176.2.8
+++ router.c	1 Dec 2005 02:29:46 -0000	1.176.2.9
@@ -387,7 +387,6 @@
 }
 /** Return 1 if we don't have a dirport configured, or if it's reachable. */
 int check_whether_dirport_reachable(void) {
-  routerinfo_t *ri = router_get_my_routerinfo();
   return !get_options()->DirPort || we_are_hibernating()
     || can_reach_dir_port;
 }



More information about the tor-commits mailing list