[xml] Very minor patch for tree.c
- From: Eric Zurcher csiro au
- To: xml gnome org
- Subject: [xml] Very minor patch for tree.c
- Date: Tue, 21 Oct 2003 09:56:37 +1000
There's a trivial error in tree.c that shows up when LIBXML_HTML_ENABLED is
not defined - the node parameter is omitted in the call to xmlSaveErr. Cut
between the "++++" lines for a patch.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Index: tree.c
===================================================================
RCS file: /cvs/gnome/gnome-xml/tree.c,v
retrieving revision 1.289
diff -u -r1.289 tree.c
--- tree.c 19 Oct 2003 21:47:14 -0000 1.289
+++ tree.c 20 Oct 2003 23:51:17 -0000
@@ -7208,7 +7208,7 @@
#ifdef LIBXML_HTML_ENABLED
htmlNodeDumpOutput(outbuf, doc, cur, NULL);
#else
- xmlSaveErr(XML_ERR_INTERNAL_ERROR, "HTML support not compiled
in\n");
+ xmlSaveErr(XML_ERR_INTERNAL_ERROR, cur, "HTML support not compiled
in\n");
#endif /* LIBXML_HTML_ENABLED */
} else
xmlNodeDumpOutput(outbuf, doc, cur, 0, 1, NULL);
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Eric Zurcher
CSIRO Livestock Industries
Canberra, Australia
Eric Zurcher csiro au
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]