[or-cvs] Fix some DOCDOCs

Nick Mathewson nickm at seul.org
Wed Aug 18 21:56:48 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv4424/src/or

Modified Files:
	config.c routerparse.c 
Log Message:
Fix some DOCDOCs

Index: config.c
===================================================================
RCS file: /home/or/cvsroot/src/or/config.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- config.c	18 Aug 2004 21:46:53 -0000	1.149
+++ config.c	18 Aug 2004 21:56:45 -0000	1.150
@@ -988,7 +988,10 @@
   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)

Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routerparse.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- routerparse.c	18 Aug 2004 04:44:24 -0000	1.35
+++ routerparse.c	18 Aug 2004 21:56:45 -0000	1.36
@@ -906,9 +906,8 @@
   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) {
 



More information about the tor-commits mailing list