Check the version only if: !MAINTAINER_MODE
authorlace <>
Wed, 8 Feb 2006 14:17:17 +0000 (14:17 +0000)
committerlace <>
Wed, 8 Feb 2006 14:17:17 +0000 (14:17 +0000)
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;