aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-08-26 21:19:58 +0000
committerNick Mathewson <nickm@torproject.org>2005-08-26 21:19:58 +0000
commit208bdf5f27d796c3da8f1b83795c3f2df9dfde7d (patch)
tree6d559e816712355ce4dbe80d78ac884e1b1b294a /src/or/router.c
parent715b972300651ea90ead6e9789b268f664cb368f (diff)
downloadtor-208bdf5f27d796c3da8f1b83795c3f2df9dfde7d.tar
tor-208bdf5f27d796c3da8f1b83795c3f2df9dfde7d.tar.gz
No need to load cached directory twice
svn:r4860
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/router.c b/src/or/router.c
index ed00241d2..ebfa41b2a 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -370,6 +370,7 @@ init_keys(void)
if (!router_digest_is_trusted_dir(digest)) {
add_trusted_dir_server(NULL, (uint16_t)options->DirPort, digest);
}
+#if 0
/* 7. [authdirserver only] load old directory, if it's there */
tor_snprintf(keydir,sizeof(keydir),"%s/cached-directory", datadir);
log_fn(LOG_INFO,"Loading cached directory from \"%s\"...",keydir);
@@ -384,6 +385,7 @@ init_keys(void)
}
tor_free(cp);
}
+#endif
/* success */
return 0;
}