aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/config.c')
-rw-r--r--src/tools/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/config.c b/src/tools/config.c
index b07aa46..8e327be 100644
--- a/src/tools/config.c
+++ b/src/tools/config.c
@@ -434,7 +434,7 @@ bool config_read_line(struct config_ctx *ctx, const char *input)
char *line, *comment;
bool ret = true;
- /* This is what strchrnull is for, but that isn't portable. */
+ /* This is what strchrnul is for, but that isn't portable. */
comment = strchr(input, COMMENT_CHAR);
if (comment)
len = comment - input;