diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2004-01-13 20:51:03 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2004-01-13 20:51:03 +0000 |
commit | c2c0d142175989f17f2231721d12ef714a292eb2 (patch) | |
tree | 325c2ee4d07686829a3e1747ae185bbf8ecf0d66 /testHTML.c | |
parent | 87247e87408561aee625b2e800ea3c13211af897 (diff) | |
download | libxml2-c2c0d142175989f17f2231721d12ef714a292eb2.tar.gz |
another small patch from Mark Vadoc Daniel
* testHTML.c: another small patch from Mark Vadoc
Daniel
Diffstat (limited to 'testHTML.c')
-rw-r--r-- | testHTML.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -709,6 +709,7 @@ parseAndPrintFile(char *filename) { /* * build an HTML tree from a string; */ +#ifdef LIBXML_PUSH_ENABLED if (push) { FILE *f; @@ -736,6 +737,9 @@ parseAndPrintFile(char *filename) { } else { doc = htmlReadFile(filename, NULL, options); } +#else + doc = htmlReadFile(filename,NULL,options); +#endif if (doc == NULL) { xmlGenericError(xmlGenericErrorContext, "Could not parse %s\n", filename); |