[tor-commits] [tor/master] Change mention of is_extrainfo router_parse_list_from_string() to want_extrainfo

nickm at torproject.org nickm at torproject.org
Fri Aug 31 13:41:42 UTC 2018


commit 1c62adb65baa99c92f937318c452955306301643
Author: Neel Chauhan <neel at neelc.org>
Date:   Wed Aug 29 21:05:24 2018 -0400

    Change mention of is_extrainfo router_parse_list_from_string() to want_extrainfo
---
 src/feature/nodelist/routerparse.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/feature/nodelist/routerparse.c b/src/feature/nodelist/routerparse.c
index 587966210..73d320de4 100644
--- a/src/feature/nodelist/routerparse.c
+++ b/src/feature/nodelist/routerparse.c
@@ -1333,10 +1333,10 @@ find_start_of_next_router_or_extrainfo(const char **s_ptr,
 }
 
 /** Given a string *<b>s</b> containing a concatenated sequence of router
- * descriptors (or extra-info documents if <b>is_extrainfo</b> is set), parses
- * them and stores the result in <b>dest</b>.  All routers are marked running
- * and valid.  Advances *s to a point immediately following the last router
- * entry.  Ignore any trailing router entries that are not complete.
+ * descriptors (or extra-info documents if <b>want_extrainfo</b> is set),
+ * parses them and stores the result in <b>dest</b>. All routers are marked
+ * running and valid. Advances *s to a point immediately following the last
+ * router entry. Ignore any trailing router entries that are not complete.
  *
  * If <b>saved_location</b> isn't SAVED_IN_CACHE, make a local copy of each
  * descriptor in the signed_descriptor_body field of each routerinfo_t.  If it



More information about the tor-commits mailing list