aboutsummaryrefslogtreecommitdiff
path: root/src/transport/test_quota_compliance.c
diff options
context:
space:
mode:
authorjah <jah@zadkiel.plus.com>2017-06-25 12:47:48 +0100
committerDaniel Golle <daniel@makrotopia.org>2017-06-25 14:04:47 +0200
commit4ef35948e674341dd6ec770d56c8d170785cf303 (patch)
treec6c7c60d8ed4a5c9f7ac64ddb618ff55f7649050 /src/transport/test_quota_compliance.c
parentb3a8a978527538062c141ff6bd2fc28abd880d4f (diff)
downloadgnunet-4ef35948e674341dd6ec770d56c8d170785cf303.tar.gz
gnunet-4ef35948e674341dd6ec770d56c8d170785cf303.zip
Fix quota compliance tests.
Diffstat (limited to 'src/transport/test_quota_compliance.c')
-rw-r--r--src/transport/test_quota_compliance.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/test_quota_compliance.c b/src/transport/test_quota_compliance.c
index 73b773b88..211e64e32 100644
--- a/src/transport/test_quota_compliance.c
+++ b/src/transport/test_quota_compliance.c
@@ -305,11 +305,11 @@ main (int argc,
305 } 305 }
306 for (unsigned int i=0;i<2;i++) 306 for (unsigned int i=0;i<2;i++)
307 { 307 {
308 if ( (NULL != gen_cfgs[0]) && 308 if ( (NULL != gen_cfgs[i]) &&
309 (GNUNET_YES == GNUNET_DISK_file_test (gen_cfgs[0])) ) 309 (GNUNET_YES == GNUNET_DISK_file_test (gen_cfgs[i])) )
310 { 310 {
311 GNUNET_DISK_directory_remove (gen_cfgs[0]); 311 GNUNET_DISK_directory_remove (gen_cfgs[i]);
312 GNUNET_free (gen_cfgs[0]); 312 GNUNET_free (gen_cfgs[i]);
313 } 313 }
314 } 314 }
315 return 0; 315 return 0;