diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-06-21 00:17:18 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-06-21 00:17:18 +0200 |
commit | 4e1438caf5d36d6278ed1e33daf937e71f063236 (patch) | |
tree | 3f559359acd1acec8904823ae9b71bbabb88555d | |
parent | a79f39c9ed1e03d74fe79b831549eb67eff86447 (diff) |
xml.c: fix empty cdata callback
-rw-r--r-- | xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |