From: lace <> Date: Wed, 8 Feb 2006 14:17:17 +0000 (+0000) Subject: Check the version only if: !MAINTAINER_MODE X-Git-Url: https://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=75b78d8bda10b9f46d7ecd034831541f43831546 Check the version only if: !MAINTAINER_MODE --- diff --git a/src/client/bug-replay/main.c b/src/client/bug-replay/main.c index 4e6d5c3..2c02cc6 100644 --- a/src/client/bug-replay/main.c +++ b/src/client/bug-replay/main.c @@ -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_is_filesystem=TRUE;