aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-05-07 05:17:36 +0000
committerNick Mathewson <nickm@torproject.org>2005-05-07 05:17:36 +0000
commit6567ec9ccf108ac2b51da77fff5e00b722640765 (patch)
treef25454acbdc983e4810d0d37f5a857609886ea25
parentbc51c8b074e27e576c603e054dceb8fec575c376 (diff)
downloadtor-6567ec9ccf108ac2b51da77fff5e00b722640765.tar.gz
tor-6567ec9ccf108ac2b51da77fff5e00b722640765.zip
Functions work better when you call them. Resolve a bug which would prevent unreachable dirports from getting suppressed.
svn:r4183
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 09a9bc6b92..1ec4665b82 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -834,7 +834,7 @@ int router_dump_router_to_string(char *s, size_t maxlen, routerinfo_t *router,
router->nickname,
router->address,
router->or_port,
- check_whether_dirport_reachable ? router->dir_port : 0,
+ check_whether_dirport_reachable() ? router->dir_port : 0,
router->platform,
published,
fingerprint,