summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-12-04 11:46:16 +0100
committerDmitry Kozlov <xeb@mail.ru>2018-12-08 07:51:32 +0300
commit7bbe2a6d695dfffd52cae09b03af246329f96458 (patch)
tree70c2767779ad1155ea1c19ff12c637dd5f2130c6
parent2e66e6a9e39b1e1b27a1b898efdd3a955bbf1d4e (diff)
downloadaccel-ppp-7bbe2a6d695dfffd52cae09b03af246329f96458.tar.gz
accel-ppp-7bbe2a6d695dfffd52cae09b03af246329f96458.zip
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 <g.nault@alphalink.fr>
-rw-r--r--accel-pppd/utils.c2
1 files changed, 1 insertions, 1 deletions
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).