summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.c b/xml.c
index 0c7b58b..4af4780 100644
--- 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)