]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/xmpp/serv_xmpp.c
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 795112b1c50e16835e428234223049dc1c95aefd..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
 
@@ -635,6 +635,6 @@ CTDL_MODULE_INIT(xmpp)
 
        }
 
-       /* return our Subversion id for the Log */
+       /* return our module name for the log */
        return "xmpp";
 }