sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit 4f40df3788165a137bc60bb6c0fd96af0c248c35
parent 07785ee64d1e750235d0ae47241049b64ed66528
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 11 Mar 2018 16:32:18 +0100

xml: fix parsing of cdata when a handler is unset

Diffstat:
Mxml.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/xml.c b/xml.c @@ -181,6 +181,7 @@ xml_parsecdata(XMLParser *x) if (x->xmlcdata) for (; i > 0; i--) x->xmlcdata(x, "]", 1); + i = 0; } if (datalen < sizeof(x->data) - 1) {