xmlparser

XML parser
git clone git://git.codemadness.org/xmlparser
Log | Files | Refs | README | LICENSE

commit 9f5430accf9f8d29e4fa3ee627dca46983c9bb03
parent f84ddc4941d473eccd2509921dfb5055e108e96e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 28 Jan 2021 19:41:34 +0100

fix small typo

Diffstat:
Mxml.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 atleast sizeof("[CDATA[") */ + /* NOTE: sizeof(x->data) must be at least sizeof("[CDATA[") */ if (tagdatalen <= sizeof("[CDATA[") - 1) x->data[tagdatalen++] = c; if (c == '>')