summaryrefslogtreecommitdiff
path: root/src/transport/test_quota_compliance.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-24 11:24:39 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-24 11:24:39 +0000
commitd39bbd5834b0dd3334d05c1db1be838bb93194f3 (patch)
tree0a320694521325872fc439fa4611cfd02b88e63f /src/transport/test_quota_compliance.c
parentaed7bd421169b2426e76a6868569fba82389f5f2 (diff)
check return values
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r--src/transport/test_quota_compliance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index 84d6733ec..1c6bba0d5 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -468,7 +468,7 @@ generate_config (char * cfg_file, unsigned long long quota_in, unsigned long
{
char * fname = NULL;
struct GNUNET_CONFIGURATION_Handle *cfg = GNUNET_CONFIGURATION_create();
- GNUNET_CONFIGURATION_load (cfg, cfg_file);
+ GNUNET_assert (GNUNET_OK == GNUNET_CONFIGURATION_load (cfg, cfg_file));
GNUNET_asprintf (&fname, "q_in_%llu_q_out_%llu_%s", quota_in, quota_out, cfg_file);
GNUNET_CONFIGURATION_set_value_string(cfg, "PATHS", "DEFAULTCONFIG", fname);
GNUNET_CONFIGURATION_set_value_number(cfg, "core", "TOTAL_QUOTA_OUT", quota_out);