projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cbff87
)
MinGW fix
author
Nils Durner
<durner@gnunet.org>
Tue, 25 Aug 2009 19:49:51 +0000
(19:49 +0000)
committer
Nils Durner
<durner@gnunet.org>
Tue, 25 Aug 2009 19:49:51 +0000
(19:49 +0000)
src/util/test_configuration.c
patch
|
blob
|
history
diff --git
a/src/util/test_configuration.c
b/src/util/test_configuration.c
index 2f37c684ce143a702e2e164bc703d55e69640f4a..6a2fda6998c08ebd77ea4f0cc7f9fa59ae553008 100644
(file)
--- a/
src/util/test_configuration.c
+++ b/
src/util/test_configuration.c
@@
-67,7
+67,12
@@
testConfig ()
if (GNUNET_OK !=
GNUNET_CONFIGURATION_get_value_filename (cfg, "last", "test", &c))
return 8;
+#ifndef MINGW
if (0 != strcmp (c, "/hello/world"))
+#else
+ #define HI "\\hello\\world"
+ if (strstr (c, HI) != c + strlen (c) - strlen (HI))
+#endif
{
GNUNET_free (c);
return 9;