]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
don't call rend_services_init right before we fetch the
authorRoger Dingledine <arma@torproject.org>
Fri, 9 Apr 2004 19:34:55 +0000 (19:34 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 9 Apr 2004 19:34:55 +0000 (19:34 +0000)
dir, because we call it right after now.

svn:r1582

src/or/main.c

index 8eee05674ed675f759773268809af4b15634677e..fb7c4a315d0dac5a8ee9eaead7514b82bfba3c61 100644 (file)
@@ -346,8 +346,6 @@ static void run_scheduled_events(time_t now) {
    *    our descriptor (if any). */
   if(time_to_fetch_directory < now) {
     /* it's time to fetch a new directory and/or post our descriptor */
-    if(has_fetched_directory)
-      rend_services_init(); /* make new intro points and re-upload if necessary */
     if(options.ORPort) {
       router_rebuild_descriptor();
       router_upload_dir_desc_to_dirservers();