aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/routerlist.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-14 15:43:27 +1000
committerteor <teor@torproject.org>2019-11-14 15:43:27 +1000
commitef00b1ce0fee88a6b4bac0baa4798f55f7a0a20f (patch)
treedf0de7b40422c4db87b2ee0de8965c2e5d63f97b /src/feature/nodelist/routerlist.c
parentb2b61b0268f5ddac347b5487ea677a7202b95c50 (diff)
downloadtor-ef00b1ce0fee88a6b4bac0baa4798f55f7a0a20f.tar.gz
tor-ef00b1ce0fee88a6b4bac0baa4798f55f7a0a20f.zip
dirauth: Remove a HAVE_MODULE_DIRAUTH inside a function
There are now no HAVE_MODULE_{DIRAUTH,RELAY} inside functions. Closes ticket 32163.
Diffstat (limited to 'src/feature/nodelist/routerlist.c')
-rw-r--r--src/feature/nodelist/routerlist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c
index 0cd7a76a9a..0709a3bbe8 100644
--- a/src/feature/nodelist/routerlist.c
+++ b/src/feature/nodelist/routerlist.c
@@ -1936,9 +1936,7 @@ routerlist_descriptors_added(smartlist_t *sl, int from_cache)
learned_bridge_descriptor(ri, from_cache);
if (ri->needs_retest_if_added) {
ri->needs_retest_if_added = 0;
-#ifdef HAVE_MODULE_DIRAUTH
dirserv_single_reachability_test(approx_time(), ri);
-#endif
}
} SMARTLIST_FOREACH_END(ri);
}