fix small typo - xmlparser - XML parser | |
git clone git://git.codemadness.org/xmlparser | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9f5430accf9f8d29e4fa3ee627dca46983c9bb03 | |
parent f84ddc4941d473eccd2509921dfb5055e108e96e | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Thu, 28 Jan 2021 19:41:34 +0100 | |
fix small typo | |
Diffstat: | |
M xml.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/xml.c b/xml.c | |
@@ -327,7 +327,7 @@ xml_parse(XMLParser *x) | |
if (c == '!') { /* cdata and comments */ | |
for (tagdatalen = 0; (c = GETNEXT()) != EOF;) { | |
- /* NOTE: sizeof(x->data) must be atlea… | |
+ /* NOTE: sizeof(x->data) must be at le… | |
if (tagdatalen <= sizeof("[CDATA[") - … | |
x->data[tagdatalen++] = c; | |
if (c == '>') |