[tor-commits] [tor/master] tweak router_parse_addr_policy_item_from_string docs

nickm at torproject.org nickm at torproject.org
Wed Dec 16 13:51:00 UTC 2015


commit 9d17d10b36129305ef0f851ade67bd087f25ac0e
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Dec 16 08:49:32 2015 -0500

    tweak router_parse_addr_policy_item_from_string docs
---
 src/or/routerparse.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index f5a003e..3f794ad 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -3668,10 +3668,10 @@ networkstatus_parse_detached_signatures(const char *s, const char *eos)
  *
  * Returns NULL on policy errors.
  *
- * If there is a policy error, malformed_list is set to true if the entire
- * policy list should be discarded. Otherwise, it is set to false, and only
- * this item should be ignored - the rest of the policy list can continue to
- * be processed and used.
+ * Set *<b>malformed_list>/b> to true if the entire policy list should be
+ * discarded. Otherwise, set it to false, and only this item should be ignored
+ * on error - the rest of the policy list can continue to be processed and
+ * used.
  *
  * The addr_policy_t returned by this function can have its address set to
  * AF_UNSPEC for '*'.  Use policy_expand_unspec() to turn this into a pair



More information about the tor-commits mailing list