Make use of XML_StopParser() when XML_MAJOR_VERSION is >1, not >2. Thanks to Stefan...
[citadel.git] / 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