aboutsummaryrefslogtreecommitdiff
path: root/src/arm
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2018-07-03 22:47:49 +0200
committerxrs <xrs@mail36.net>2018-07-03 22:47:49 +0200
commit18fdfc54ce13a4b67d24c835e013492fc30507db (patch)
tree673a1b6172979163dee79de883bb1871c07faa56 /src/arm
parent2e7ba8a6c7dc317fdec310e04290acb1aa94a417 (diff)
downloadgnunet-18fdfc54ce13a4b67d24c835e013492fc30507db.tar.gz
gnunet-18fdfc54ce13a4b67d24c835e013492fc30507db.zip
fix codesonar finding 2366.9987
Diffstat (limited to 'src/arm')
-rw-r--r--src/arm/test_exponential_backoff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arm/test_exponential_backoff.c b/src/arm/test_exponential_backoff.c
index 4a7d51bc7..71c98211a 100644
--- a/src/arm/test_exponential_backoff.c
+++ b/src/arm/test_exponential_backoff.c
@@ -343,7 +343,10 @@ init ()
343 cfg = GNUNET_CONFIGURATION_create (); 343 cfg = GNUNET_CONFIGURATION_create ();
344 if (GNUNET_OK != GNUNET_CONFIGURATION_parse (cfg, 344 if (GNUNET_OK != GNUNET_CONFIGURATION_parse (cfg,
345 "test_arm_api_data.conf")) 345 "test_arm_api_data.conf"))
346 {
347 GNUNET_free (cfg);
346 return GNUNET_SYSERR; 348 return GNUNET_SYSERR;
349 }
347 if (NULL == getcwd (pwd, PATH_MAX)) 350 if (NULL == getcwd (pwd, PATH_MAX))
348 return GNUNET_SYSERR; 351 return GNUNET_SYSERR;
349 GNUNET_assert (0 < GNUNET_asprintf (&binary, 352 GNUNET_assert (0 < GNUNET_asprintf (&binary,