aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_configuration.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-07-25 15:15:19 +0000
committerChristian Grothoff <christian@grothoff.org>2012-07-25 15:15:19 +0000
commit5d2e17869e4d989465d1d3f4c0717745466b52a2 (patch)
treeffcd62e5a471f4ad43565165042f512654cb7d7b /src/util/test_configuration.c
parentcd48fb64049abd019981d2ed45c6a028a1f038e3 (diff)
downloadgnunet-5d2e17869e4d989465d1d3f4c0717745466b52a2.tar.gz
gnunet-5d2e17869e4d989465d1d3f4c0717745466b52a2.zip
-fixes
Diffstat (limited to 'src/util/test_configuration.c')
-rw-r--r--src/util/test_configuration.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/test_configuration.c b/src/util/test_configuration.c
index 1242a5c8d..62ad5fa92 100644
--- a/src/util/test_configuration.c
+++ b/src/util/test_configuration.c
@@ -231,7 +231,8 @@ checkDiffs (struct GNUNET_CONFIGURATION_Handle *cfgDefault, int option)
231 /* Compare the dumped configuration with modifications done */ 231 /* Compare the dumped configuration with modifications done */
232 cfg = GNUNET_CONFIGURATION_create (); 232 cfg = GNUNET_CONFIGURATION_create ();
233 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_parse (cfg, diffsFileName)); 233 GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_parse (cfg, diffsFileName));
234 remove (diffsFileName); 234 if (0 != remove (diffsFileName))
235 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, "remove", diffsFileName);
235 cbData.callBackOption = COMPARE; 236 cbData.callBackOption = COMPARE;
236 cbData.cfgDiffs = cfgDiffs; 237 cbData.cfgDiffs = cfgDiffs;
237 GNUNET_CONFIGURATION_iterate (cfg, diffsCallBack, &cbData); 238 GNUNET_CONFIGURATION_iterate (cfg, diffsCallBack, &cbData);