[or-cvs] simplify

arma at seul.org arma at seul.org
Fri Sep 16 06:15:36 UTC 2005


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

Modified Files:
	router.c 
Log Message:
simplify


Index: router.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/router.c,v
retrieving revision 1.207
retrieving revision 1.208
diff -u -d -r1.207 -r1.208
--- router.c	13 Sep 2005 21:39:42 -0000	1.207
+++ router.c	16 Sep 2005 06:15:34 -0000	1.208
@@ -419,11 +419,7 @@
   }
 
   if (!check_whether_dirport_reachable()) {
-    if (me) {
-      directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
-    } else {
-      log(LOG_NOTICE,"Delaying checking DirPort reachability; can't build descriptor.");
-    }
+    directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
   }
 }
 



More information about the tor-commits mailing list