]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
dirservers upload their descs now too
authorRoger Dingledine <arma@torproject.org>
Fri, 26 Sep 2003 22:02:02 +0000 (22:02 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 26 Sep 2003 22:02:02 +0000 (22:02 +0000)
svn:r493

src/or/main.c

index ee6cd149a3e2fe78fb58882b35f1e7a8e6fb001c..662358c8ef3cf200f0a7cda3381246e155387e4d 100644 (file)
@@ -586,8 +586,7 @@ static int do_main_loop(void) {
 
   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