Browse Source

Fix some DOCDOCs

svn:r2295
Nick Mathewson 20 years ago
parent
commit
ae46b6b077
2 changed files with 6 additions and 4 deletions
  1. 4 1
      src/or/config.c
  2. 2 3
      src/or/routerparse.c

+ 4 - 1
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)

+ 2 - 3
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) {