aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/testing/gnunet-testing.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c
index f5d7ab36c..0caa28e25 100644
--- a/src/testing/gnunet-testing.c
+++ b/src/testing/gnunet-testing.c
@@ -77,8 +77,11 @@ create_unique_cfgs (const char * template, const unsigned int no)
77 return 1; 77 return 1;
78 } 78 }
79 /* load defaults */ 79 /* load defaults */
80 else 80 else if (GNUNET_OK != GNUNET_CONFIGURATION_load(cfg_tmpl, NULL))
81 GNUNET_CONFIGURATION_load(cfg_tmpl, NULL); 81 {
82 GNUNET_break (0);
83 return 1;
84 }
82 85
83 if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg_tmpl, "PATHS", "SERVICEHOME", &service_home)) 86 if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg_tmpl, "PATHS", "SERVICEHOME", &service_home))
84 { 87 {