aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-09-28 09:40:04 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-28 09:40:04 -0400
commit55873107d02085927cb9ffbe667b468af403283e (patch)
treea4e91491537effbf5512e0e456563146533717e1 /src/common
parenta64d79ca4c5699be161a54d94e0e6c0f7d06db7c (diff)
downloadtor-55873107d02085927cb9ffbe667b468af403283e.tar.gz
tor-55873107d02085927cb9ffbe667b468af403283e.zip
Correct docs for config_lines_dup_and_filter
Diffstat (limited to 'src/common')
-rw-r--r--src/common/confline.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/confline.c b/src/common/confline.c
index f2fbe9c8e9..04545bc2c3 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)