Make use of XML_StopParser() when XML_MAJOR_VERSION is >1, not >2. Thanks to Stefan...
authorArt Cancro <ajc@uncensored.citadel.org>
Fri, 26 Aug 2011 17:03:57 +0000 (13:03 -0400)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 21:58:21 +0000 (21:58 +0000)
citadel/modules/xmpp/serv_xmpp.c

index 733c2363c6d6324e42aefd859fa99356444c4b31..86685664d5dc65a7b5db06a59683c081594d982e 100644 (file)
@@ -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