summaryrefslogtreecommitdiff
path: root/xml.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-06-01 12:15:55 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-06-01 12:15:55 +0200
commit3329788501ffa0acedefdf97a1173e66d76de033 (patch)
tree0a5ad1f5be54f7b6f7217f75b425ef7824a0d80f /xml.c
parent208adcc1901b524b7d2f342020d11ec9fad67fcc (diff)
fix typo
Diffstat (limited to 'xml.c')
-rw-r--r--xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.c b/xml.c
index e6c27d7..29681a4 100644
--- 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);