[Accel-ppp-users] [PATCH] utils: fix typo in description of u_parse_endstr()
Status: Beta
Brought to you by:
xebd
From: Guillaume N. <g....@al...> - 2018-12-04 10:46:28
|
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 <g....@al...> --- 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). -- 2.20.0.rc1 |