diff options
author | Roger Dingledine <arma@torproject.org> | 2005-09-21 21:10:36 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2005-09-21 21:10:36 +0000 |
commit | 1cfcc4b351d426d22d1163a90bdc0525d897d801 (patch) | |
tree | 6ef70bfc47f3427e650a2c3627828dc9ce8102cd /src/or/dirserv.c | |
parent | f411dd8d3a6a20d92d700db2d5c78c2f4de759f4 (diff) | |
download | tor-1cfcc4b351d426d22d1163a90bdc0525d897d801.tar.gz tor-1cfcc4b351d426d22d1163a90bdc0525d897d801.zip |
clean up misleading comment on authdir_wants_to_reject_router()
svn:r5105
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 9dd537c56a..7416af010d 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -358,13 +358,13 @@ dirserv_router_has_valid_address(routerinfo_t *ri) /** Check whether we, as a directory server, want to accept <b>ri</b>. If so, * return 0, and set its is_valid,named,running fields. Otherwise, return -1. * - * If the router is rejected and <b>msg</b> is provided, set - * *<b>msg</b> to an explanation of why. + * If the router is rejected, set *<b>msg</b> to an explanation of why. */ int authdir_wants_to_reject_router(routerinfo_t *ri, const char **msg) { + tor_assert(msg); /* Okay. Now check whether the fingerprint is recognized. */ router_status_t status = dirserv_router_get_status(ri, msg); time_t now; |