From 7bbe2a6d695dfffd52cae09b03af246329f96458 Mon Sep 17 00:00:00 2001 From: Guillaume Nault Date: Tue, 4 Dec 2018 11:46:16 +0100 Subject: utils: fix typo in description of u_parse_endstr() u_parse_endstr() used to be u_parse_eos() in my internal repository. I forgot to update the documentation when I renamed it. Signed-off-by: Guillaume Nault --- accel-pppd/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accel-pppd/utils.c b/accel-pppd/utils.c index 544c59e7..0295934f 100644 --- a/accel-pppd/utils.c +++ b/accel-pppd/utils.c @@ -70,7 +70,7 @@ size_t __export u_parse_spaces(const char *str) * Reads a sequence of space characters, followed by the end-of-string * mark ('\0'). * Returns the number of characters parsed on success (that is, the number of - * space characters plus one for '\0'). Beware that 'str + u_parse_eos(str)' + * space characters plus one for '\0'). Beware that 'str + u_parse_endstr(str)' * points to the next byte after the end of the string in this case. * Returns 0 if parsing fails (that is, if unexpected characers are found * before the end of the string). -- cgit v1.2.3