sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit 4e1438caf5d36d6278ed1e33daf937e71f063236
parent a79f39c9ed1e03d74fe79b831549eb67eff86447
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 21 Jun 2015 00:17:18 +0200

xml.c: fix empty cdata callback

Diffstat:
Mxml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xml.c b/xml.c @@ -207,7 +207,7 @@ xmlparser_parsecdata(XMLParser *x) if(datalen >= 2) { datalen -= 2; x->data[datalen] = '\0'; - if(x->xmlcdata && datalen) + if(x->xmlcdata) x->xmlcdata(x, x->data, datalen); } if(x->xmlcdataend)