git://git.jankratochvil.net
/
captive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce26d08
)
Check the version only if: !MAINTAINER_MODE
author
lace
<>
Wed, 8 Feb 2006 14:17:17 +0000
(14:17 +0000)
committer
lace
<>
Wed, 8 Feb 2006 14:17:17 +0000
(14:17 +0000)
src/client/bug-replay/main.c
patch
|
blob
|
history
diff --git
a/src/client/bug-replay/main.c
b/src/client/bug-replay/main.c
index
4e6d5c3
..
2c02cc6
100644
(file)
--- 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/> */
module_is_filesystem=TRUE;