Check the version only if: !MAINTAINER_MODE
[captive.git] / src / client / bug-replay / main.c
index 4e6d5c3..2c02cc6 100644 (file)
@@ -166,7 +166,9 @@ const gchar *xml_captive_version;
 
                                        xml_captive_version=captive_libxml_string_drop(&drop_stack,xmlTextReaderGetAttribute(xml_reader,BAD_CAST "version"));
                                        g_assert(xml_captive_version!=NULL);
+#ifndef MAINTAINER_MODE
                                        g_assert(!strcmp(xml_captive_version,VERSION));
+#endif
                                        }
                                else if (!xmlStrcmp(xml_name,BAD_CAST "filesystem")) {  /* contains <module/> */
                                        module_is_filesystem=TRUE;