summaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-09-16 06:15:34 +0000
committerRoger Dingledine <arma@torproject.org>2005-09-16 06:15:34 +0000
commitcce469c5ce73f113e16fecb3823918da004ab3ba (patch)
tree7c06709c6bbbfc71e3de2b77943d161d1eb091d6 /src/or/router.c
parent538740e362e7c06d1abb2c9039266c87b1fc5ec0 (diff)
downloadtor-cce469c5ce73f113e16fecb3823918da004ab3ba.tar.gz
tor-cce469c5ce73f113e16fecb3823918da004ab3ba.zip
simplify
svn:r5081
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/or/router.c b/src/or/router.c
index a369007709..b9cea79113 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -419,11 +419,7 @@ consider_testing_reachability(void)
}
if (!check_whether_dirport_reachable()) {
- if (me) {
- directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
- } else {
- log(LOG_NOTICE,"Delaying checking DirPort reachability; can't build descriptor.");
- }
+ directory_initiate_command_router(me, DIR_PURPOSE_FETCH_DIR, 1, NULL, NULL, 0);
}
}