From d39bbd5834b0dd3334d05c1db1be838bb93194f3 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 24 Oct 2011 11:24:39 +0000 Subject: check return values --- src/transport/test_quota_compliance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/transport/test_quota_compliance.c') 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); -- cgit v1.2.3