diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-06-22 01:39:25 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-22 04:09:39 +0200 |
commit | 18822b84f88422f11611c598a0c23c56652693d9 (patch) | |
tree | c5165b9cdbe9d782afcfce2cb99d44299f05cead | |
parent | manpages: eliminate whitespace at the end of the line (diff) | |
download | wireguard-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>
-rw-r--r-- | src/tools/config.c | 2 |
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; |