[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Correct docs for config_lines_dup_and_filter



commit 55873107d02085927cb9ffbe667b468af403283e
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Sep 28 09:40:04 2017 -0400

    Correct docs for config_lines_dup_and_filter
---
 src/common/confline.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/common/confline.c b/src/common/confline.c
index f2fbe9c8e..04545bc2c 100644
--- a/src/common/confline.c
+++ b/src/common/confline.c
@@ -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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits