aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2012-02-13 16:14:14 +0000
committerbartpolot <bartpolot@140774ce-b5e7-0310-ab8b-a85725594a96>2012-02-13 16:14:14 +0000
commit59cd3ee8fbbcec3f62b407030993d733da24e67b (patch)
tree72bd182934175aba91d1f476ce187a206021c618 /src/testing
parent2360afabeccd965c7d4d2e11bfad5881e9415353 (diff)
- fix coverity
git-svn-id: https://gnunet.org/svn/gnunet@19792 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/testing')
-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 f5d7ab36c1..0caa28e255 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)
return 1;
}
/* load defaults */
- else
- GNUNET_CONFIGURATION_load(cfg_tmpl, NULL);
+ else if (GNUNET_OK != GNUNET_CONFIGURATION_load(cfg_tmpl, NULL))
+ {
+ GNUNET_break (0);
+ return 1;
+ }
if (GNUNET_SYSERR == GNUNET_CONFIGURATION_get_value_string(cfg_tmpl, "PATHS", "SERVICEHOME", &service_home))
{