summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xml.c b/xml.c
index 33c2fef..ec5d05c 100644
--- 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) {