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>
This commit is contained in:
Jonathan Neuschäfer 2018-06-22 01:39:25 +02:00 committed by Jason A. Donenfeld
parent ef54cbf568
commit a54a133500

View file

@ -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;