[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] don"t build and upload a new desc twice in a row



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

Modified Files:
	router.c 
Log Message:
don't build and upload a new desc twice in a row


Index: router.c
===================================================================
RCS file: /home/or/cvsroot/src/or/router.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- router.c	25 Apr 2004 03:38:19 -0000	1.29
+++ router.c	25 Apr 2004 05:19:03 -0000	1.30
@@ -75,11 +75,6 @@
    */
   lastonionkey = onionkey;
   set_onion_key(prkey);
-  if (router_rebuild_descriptor() <0) {
-    goto error;
-  }
-  router_upload_dir_desc_to_dirservers();
-  /* Mark all CPU workers to close. */
   return;
  error:
   log_fn(LOG_WARN, "Couldn't rotate onion key.");