xml/xsl test programs

This commit is contained in:
Olof Hagsand 2018-05-27 18:31:19 +00:00
parent b230215eaf
commit 0622f6aafe
2 changed files with 21 additions and 10 deletions

View file

@ -1883,7 +1883,7 @@ usage(char *argv0)
int
main(int argc, char **argv)
{
cxobj *xt;
cxobj *xt = NULL;
cxobj *xc;
cbuf *cb = cbuf_new();
@ -1891,7 +1891,7 @@ main(int argc, char **argv)
usage(argv[0]);
return 0;
}
if (xml_parse_file(0, "</config>", NULL,&xt) < 0){
if (xml_parse_file(0, "</config>", NULL, &xt) < 0){
fprintf(stderr, "parsing 2\n");
return -1;
}