From: Art Cancro Date: Fri, 26 Aug 2011 17:03:57 +0000 (-0400) Subject: Make use of XML_StopParser() when XML_MAJOR_VERSION is >1, not >2. Thanks to Stefan... X-Git-Tag: v8.11~503 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=317e224db32ad70ac01b3ac6164327fe16052578 Make use of XML_StopParser() when XML_MAJOR_VERSION is >1, not >2. Thanks to Stefan for the bugfix. --- diff --git a/citadel/modules/xmpp/serv_xmpp.c b/citadel/modules/xmpp/serv_xmpp.c index 733c2363c..86685664d 100644 --- a/citadel/modules/xmpp/serv_xmpp.c +++ b/citadel/modules/xmpp/serv_xmpp.c @@ -57,8 +57,8 @@ #include "ctdl_module.h" #include "serv_xmpp.h" -#if XML_MAJOR_VERSION > 0 /* XML_StopParser is present in expat 2.x */ +#if XML_MAJOR_VERSION > 1 #define HAVE_XML_STOPPARSER #endif