From: Jonathan Neuschäfer Date: Thu, 21 Jun 2018 23:39:25 +0000 (+0200) Subject: wg: fix misspelling of strchrnul in comment X-Git-Tag: v1.0.20191226~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a54a133500436402171c2d6d23aea93bddc993cf;p=thirdparty%2Fwireguard-tools.git wg: fix misspelling of strchrnul in comment Signed-off-by: Jonathan Neuschäfer Signed-off-by: Jason A. Donenfeld --- 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;