aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-06-09 07:05:19 +0000
committerRoger Dingledine <arma@torproject.org>2007-06-09 07:05:19 +0000
commita97c3b8c2da5d1f1e0ac793e7ad79b8288a87bc3 (patch)
tree9d36eb6c00798193c27192fba6bfc34ab2e0775c /src/or/main.c
parent8dfde75ef68afe952058aa938f53707f98b9178c (diff)
downloadtor-a97c3b8c2da5d1f1e0ac793e7ad79b8288a87bc3.tar
tor-a97c3b8c2da5d1f1e0ac793e7ad79b8288a87bc3.tar.gz
Be clearer on the various roles for auth dir types.
Bridge authorities no longer write bridge descriptors to their cached-routers file -- this gets complex because of extrainfo documents. svn:r10545
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 3608b1791..ef72f49ab 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -916,7 +916,7 @@ run_scheduled_events(time_t now)
if (accounting_is_enabled(options))
accounting_run_housekeeping(now);
- if (now % 10 == 0 && (authdir_mode_handles_descs(options)) &&
+ if (now % 10 == 0 && (authdir_mode_tests_reachability(options)) &&
!we_are_hibernating()) {
/* try to determine reachability of the other Tor servers */
dirserv_test_reachability(0);
@@ -1329,7 +1329,7 @@ do_main_loop(void)
}
directory_info_has_arrived(time(NULL),1);
- if (authdir_mode_handles_descs(get_options())) {
+ if (authdir_mode_tests_reachability(get_options())) {
/* the directory is already here, run startup things */
dirserv_test_reachability(1);
}