commit d4f666484cd690b15ea9725bed46c6bbc46c8fd8
parent 43c435086fc16b4e86468dc8bafcd777ae0eace3
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 16 May 2015 15:58:59 +0200
xml: call parse
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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);
}