aboutsummaryrefslogtreecommitdiff
path: root/src/testing/gnunet-testing.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-02-13 16:14:14 +0000
committerBart Polot <bart@net.in.tum.de>2012-02-13 16:14:14 +0000
commitc18c79aa8c3ac8376478a8cc3b59da2719f9ebcf (patch)
tree72bd182934175aba91d1f476ce187a206021c618 /src/testing/gnunet-testing.c
parent2e2e5b4a8e5cebd71b880da8c613be4a49f44fe2 (diff)
downloadgnunet-c18c79aa8c3ac8376478a8cc3b59da2719f9ebcf.tar.gz
gnunet-c18c79aa8c3ac8376478a8cc3b59da2719f9ebcf.zip
- fix coverity
Diffstat (limited to 'src/testing/gnunet-testing.c')
-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 {