From d4f666484cd690b15ea9725bed46c6bbc46c8fd8 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sat, 16 May 2015 15:58:59 +0200 Subject: xml: call parse --- xml.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xml.c b/xml.c index d2a064d..660a279 100644 --- a/xml.c +++ b/xml.c @@ -362,6 +362,7 @@ xmlparser_parse_string(XMLParser *x, const char *s) { x->str = s; x->getnext = xmlparser_string_getnext; + xmlparser_parse(x); } void @@ -369,4 +370,5 @@ xmlparser_parse_fd(XMLParser *x, int fd) { x->fd = fd; x->getnext = xmlparser_fd_getnext; + xmlparser_parse(x); } -- cgit v1.2.3