summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-08-18 21:56:45 +0000
committerNick Mathewson <nickm@torproject.org>2004-08-18 21:56:45 +0000
commitae46b6b077443eae66a530bfa41537b66e4aa863 (patch)
tree3bd1d253eca9bc90119d180716c89b8f13fb0815
parentcf6159abb98ea968d6aa732ba9678dbfdfac7156 (diff)
downloadtor-ae46b6b077443eae66a530bfa41537b66e4aa863.tar.gz
tor-ae46b6b077443eae66a530bfa41537b66e4aa863.zip
Fix some DOCDOCs
svn:r2295
-rw-r--r--src/or/config.c5
-rw-r--r--src/or/routerparse.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 963b4a2746..1533858610 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -988,7 +988,10 @@ int config_init_logs(or_options_t *options)
return 0;
}
-/** XXX008 DOCDOC */
+/**
+ * Given a linked list of config lines containing "allow" and "deny" tokens,
+ * parse them and place the result in <b>dest</b>. Skip malformed lines.
+ */
void
config_parse_exit_policy(struct config_line_t *cfg,
struct exit_policy_t **dest)
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index f434dcd660..c54097782e 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -906,9 +906,8 @@ static int router_add_exit_policy(routerinfo_t *router,directory_token_t *tok)
return 0;
}
-/** Given a K_ACCEPT or K_REJECT token and a router, create a new exit_policy_t
- * corresponding to the token, and add it to <b>router</b> */
-/* XXX008 NICK DOCDOC: there is no <b>router</b> */
+/** Given a K_ACCEPT or K_REJECT token and a router, create and return
+ * a new exit_policy_t corresponding to the token. */
static struct exit_policy_t *
router_parse_exit_policy(directory_token_t *tok) {