summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-04-25 05:19:03 +0000
committerRoger Dingledine <arma@torproject.org>2004-04-25 05:19:03 +0000
commit7fbc35c136bf84f16b6751a23f15dc9d325397e5 (patch)
tree84de99ebbd35803cc2313e140b3b264d609185f4 /src
parente355ed0e154ef34122f6c4be0a0f243d8173a56c (diff)
downloadtor-7fbc35c136bf84f16b6751a23f15dc9d325397e5.tar.gz
tor-7fbc35c136bf84f16b6751a23f15dc9d325397e5.zip
don't build and upload a new desc twice in a row
svn:r1691
Diffstat (limited to 'src')
-rw-r--r--src/or/router.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/or/router.c b/src/or/router.c
index f83bcdda34..8297f36495 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -75,11 +75,6 @@ void rotate_onion_key(void)
*/
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.");