diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-12 09:43:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-12 09:43:59 +0000 |
commit | 0a107e575008aafdfeaccbb7714744c8dbcb1967 (patch) | |
tree | 6c9e77a082d15079dc4f68f5f8e083b60b31ed56 /src/testing | |
parent | 5d37496ea5a8be03ba57abc40beb4ca85a57fd05 (diff) | |
download | gnunet-0a107e575008aafdfeaccbb7714744c8dbcb1967.tar.gz gnunet-0a107e575008aafdfeaccbb7714744c8dbcb1967.zip |
-fix
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/gnunet-testing.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testing/gnunet-testing.c b/src/testing/gnunet-testing.c index ba864e3f0..fdce52bb4 100644 --- a/src/testing/gnunet-testing.c +++ b/src/testing/gnunet-testing.c | |||
@@ -65,14 +65,15 @@ create_unique_cfgs (const char * template, const unsigned int no) | |||
65 | if ((create_cfg_template != NULL) && (GNUNET_OK != GNUNET_CONFIGURATION_load(cfg_tmpl, create_cfg_template))) | 65 | if ((create_cfg_template != NULL) && (GNUNET_OK != GNUNET_CONFIGURATION_load(cfg_tmpl, create_cfg_template))) |
66 | { | 66 | { |
67 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Could not load template `%s'\n", create_cfg_template); | 67 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Could not load template `%s'\n", create_cfg_template); |
68 | GNUNET_CONFIGURATION_destroy(cfg_tmpl); | 68 | GNUNET_CONFIGURATION_destroy (cfg_tmpl); |
69 | 69 | ||
70 | return 1; | 70 | return 1; |
71 | } | 71 | } |
72 | /* load defaults */ | 72 | /* load defaults */ |
73 | if (GNUNET_OK != GNUNET_CONFIGURATION_load (cfg_tmpl, NULL)) | 73 | if (GNUNET_OK != GNUNET_CONFIGURATION_load (cfg_tmpl, NULL)) |
74 | { | 74 | { |
75 | GNUNET_break (0); | 75 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Could not load template `%s'\n", create_cfg_template); |
76 | GNUNET_CONFIGURATION_destroy (cfg_templ); | ||
76 | return 1; | 77 | return 1; |
77 | } | 78 | } |
78 | 79 | ||