summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-04 18:50:13 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-04 19:05:51 -0400
commitf68c042637d253dfb3160357ba2b9ec530cb48ef (patch)
tree621b700acf4646a720d47b719b30d5ebf2d51ed1 /src/or/routerparse.c
parent41e8bee188571ca61c2f5628ea99dff34343d673 (diff)
downloadtor-f68c042637d253dfb3160357ba2b9ec530cb48ef.tar.gz
tor-f68c042637d253dfb3160357ba2b9ec530cb48ef.zip
Resolve all currently pending DOCDOC items in master
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 781c57897d..d86c0cfa85 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -4169,7 +4169,10 @@ _find_by_keyword(smartlist_t *s, directory_keyword keyword,
return tok;
}
-/** DOCDOC */
+/** If there are any directory_token_t entries in <b>s</b> whose keyword is
+ * <b>k</b>, return a newly allocated smartlist_t containing all such entries,
+ * in the same order in which they occur in <b>s</b>. Otherwise return
+ * NULL. */
static smartlist_t *
find_all_by_keyword(smartlist_t *s, directory_keyword k)
{