[or-cvs] dirservers upload their descs now too

Roger Dingledine arma at seul.org
Fri Sep 26 22:02:04 UTC 2003


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

Modified Files:
	main.c 
Log Message:
dirservers upload their descs now too


Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- main.c	26 Sep 2003 18:27:35 -0000	1.104
+++ main.c	26 Sep 2003 22:02:02 -0000	1.105
@@ -586,8 +586,7 @@
 
   if(options.OnionRouter) {
     cpu_init(); /* launch cpuworkers. Need to do this *after* we've read the onion key. */
-    if(options.DirPort == 0) /* not a dirserver; XXX eventually do this for dirservers too */
-      router_upload_desc_to_dirservers(); /* upload our descriptor to all dirservers */
+    router_upload_desc_to_dirservers(); /* upload our descriptor to all dirservers */
   }
 
   /* start up the necessary connections based on which ports are



More information about the tor-commits mailing list