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:
2e2e5b4
)
- fix coverity
author
Bart Polot
<bart@net.in.tum.de>
Mon, 13 Feb 2012 16:14:14 +0000
(16:14 +0000)
committer
Bart Polot
<bart@net.in.tum.de>
Mon, 13 Feb 2012 16:14:14 +0000
(16:14 +0000)
src/testing/gnunet-testing.c
patch
|
blob
|
history
diff --git
a/src/testing/gnunet-testing.c
b/src/testing/gnunet-testing.c
index f5d7ab36c1c1b6d07d238d1259ddcf5ba3f9ecc5..0caa28e255900b276b482d78e096e2d320ca89cd 100644
(file)
--- 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))
{