last minute patch from Eric Zurcher making it into 2.6.0 Daniel

* tree.c: last minute patch from Eric Zurcher making it into 2.6.0
Daniel
diff --git a/ChangeLog b/ChangeLog
index 8504af4..4c71dce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct 21 02:07:22 CEST 2003 Daniel Veillard <daniel@veillard.com>
+
+	* tree.c: last minute patch from Eric Zurcher making it into 2.6.0
+
 Tue Oct 21 02:03:03 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
 	* configure.in NEWS doc/libxml2.xsa: preparing libxml2-2.6.0
diff --git a/tree.c b/tree.c
index bca13e7..acb1920 100644
--- a/tree.c
+++ b/tree.c
@@ -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);