aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/config.c
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-06-22 01:39:25 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-22 04:09:39 +0200
commit18822b84f88422f11611c598a0c23c56652693d9 (patch)
treec5165b9cdbe9d782afcfce2cb99d44299f05cead /src/tools/config.c
parentmanpages: eliminate whitespace at the end of the line (diff)
downloadwireguard-monolithic-historical-18822b84f88422f11611c598a0c23c56652693d9.tar.xz
wireguard-monolithic-historical-18822b84f88422f11611c598a0c23c56652693d9.zip
tools: fix misspelling of strchrnul in comment
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
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;