From 317e224db32ad70ac01b3ac6164327fe16052578 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 26 Aug 2011 13:03:57 -0400 Subject: [PATCH] Make use of XML_StopParser() when XML_MAJOR_VERSION is >1, not >2. Thanks to Stefan for the bugfix. --- citadel/modules/xmpp/serv_xmpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2