aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/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
commita54a133500436402171c2d6d23aea93bddc993cf (patch)
tree03d854d5a71b6ef9fd5a7c22b9662ac3d7ab1737 /src/config.c
parentmanpages: eliminate whitespace at the end of the line (diff)
downloadwireguard-tools-a54a133500436402171c2d6d23aea93bddc993cf.tar.xz
wireguard-tools-a54a133500436402171c2d6d23aea93bddc993cf.zip
wg: fix misspelling of strchrnul in comment
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index b07aa46..8e327be 100644
--- a/src/config.c
+++ b/src/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;