projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a8a97
)
Fix quota compliance tests.
author
jah
<jah@zadkiel.plus.com>
Sun, 25 Jun 2017 11:47:48 +0000
(12:47 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Sun, 25 Jun 2017 12:04:47 +0000
(14:04 +0200)
src/transport/test_quota_compliance.c
patch
|
blob
|
history
diff --git
a/src/transport/test_quota_compliance.c
b/src/transport/test_quota_compliance.c
index 73b773b881d09e7761b4a1610021b9a936a46b09..211e64e32beffa8f6739a945527b51735edf9b65 100644
(file)
--- a/
src/transport/test_quota_compliance.c
+++ b/
src/transport/test_quota_compliance.c
@@
-305,11
+305,11
@@
main (int argc,
}
for (unsigned int i=0;i<2;i++)
{
- if ( (NULL != gen_cfgs[
0
]) &&
- (GNUNET_YES == GNUNET_DISK_file_test (gen_cfgs[
0
])) )
+ if ( (NULL != gen_cfgs[
i
]) &&
+ (GNUNET_YES == GNUNET_DISK_file_test (gen_cfgs[
i
])) )
{
- GNUNET_DISK_directory_remove (gen_cfgs[
0
]);
- GNUNET_free (gen_cfgs[
0
]);
+ GNUNET_DISK_directory_remove (gen_cfgs[
i
]);
+ GNUNET_free (gen_cfgs[
i
]);
}
}
return 0;