]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Correct docs for config_lines_dup_and_filter
authorNick Mathewson <nickm@torproject.org>
Thu, 28 Sep 2017 13:40:04 +0000 (09:40 -0400)
committerNick Mathewson <nickm@torproject.org>
Thu, 28 Sep 2017 13:40:04 +0000 (09:40 -0400)
src/common/confline.c

index f2fbe9c8e9c48b2c3f9ad1cb1c0e10759e7709af..04545bc2c3a0af7e7b2f43c8a6ce08acf1b2080d 100644 (file)
@@ -342,7 +342,8 @@ config_lines_dup(const config_line_t *inp)
 }
 
 /** Return a newly allocated deep copy of the lines in <b>inp</b>,
- * but only the ones that match <b>key</b>. */
+ * but only the ones whose keys begin with <b>key</b> (case-insensitive).
+ * If <b>key</b> is NULL, do not filter. */
 config_line_t *
 config_lines_dup_and_filter(const config_line_t *inp,
                             const char *key)