fix typo - xmlparser - XML parser
HTML git clone git://git.codemadness.org/xmlparser
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 26ae48529f916f9cd178114f543aa565b8dbb088
DIR parent f32a38c45da3bd764f1708600a33bd878cbe8afc
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 1 Jun 2020 12:16:33 +0200
fix typo
Diffstat:
M xml.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/xml.c b/xml.c
@@ -286,7 +286,7 @@ numericentitytostr(const char *e, char *buf, size_t bufsiz)
l = strtol(++e, &end, 16);
else
l = strtol(e, &end, 10);
- /* invalid value or not a well-formed entity or invalid codepoint */
+ /* invalid value or not a well-formed entity or invalid code point */
if (errno || e == end || *end != ';' || l < 0 || l > 0x10ffff)
return -1;
len = codepointtoutf8(l, buf);