fix typo - tscrape - twitter scraper | |
git clone git://git.codemadness.org/tscrape | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 663dab7d9883a291ed570a743fb89a16e1a01d85 | |
parent 4eb084c604ac84247e704bd05a4737c8679461e2 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Mon, 1 Jun 2020 12:17:51 +0200 | |
fix typo | |
Diffstat: | |
M xml.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
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); |