Fixes testapi.c compilation with "--enable-html --disable-http" options.
Aleksey
--- testapi.c.orig Sat Apr 2 00:44:00 2005
+++ testapi.c Tue Jun 28 06:14:28 2005
@@ -675,6 +675,9 @@
xmlNanoHTTPClose(val);
}
}
+static void desret_xmlNanoHTTPCtxtPtr(void *val) {
+ xmlNanoHTTPClose(val);
+}
#endif
#define gen_nb_xmlCharEncoding 4
@@ -814,9 +817,6 @@
#ifdef LIBXML_HTML_ENABLED
static void desret_const_htmlEntityDesc_ptr(const htmlEntityDesc * val
ATTRIBUTE_UNUSED) {
}
-static void desret_xmlNanoHTTPCtxtPtr(void *val) {
- xmlNanoHTTPClose(val);
-}
#endif
#ifdef LIBXML_FTP_ENABLED
static void desret_xmlNanoFTPCtxtPtr(void *val) {
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml