aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/test_statistics_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-25 10:57:43 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-25 10:57:43 +0000
commit42dbd0d48e6bd38d58c7d58d523f5f71efed22a0 (patch)
tree55113c83d4002cfd8a044ac736d579ad2bc85118 /src/statistics/test_statistics_api.c
parentf4dfb3bfeadf3ce0788fef942804fe4f25e7fc99 (diff)
downloadgnunet-42dbd0d48e6bd38d58c7d58d523f5f71efed22a0.tar.gz
gnunet-42dbd0d48e6bd38d58c7d58d523f5f71efed22a0.zip
make sure stats that are being set can be committed on destroy
Diffstat (limited to 'src/statistics/test_statistics_api.c')
-rw-r--r--src/statistics/test_statistics_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statistics/test_statistics_api.c b/src/statistics/test_statistics_api.c
index 97e2f59c7..a03a8c3ed 100644
--- a/src/statistics/test_statistics_api.c
+++ b/src/statistics/test_statistics_api.c
@@ -74,7 +74,7 @@ next_fin (void *cls, int success)
74{ 74{
75 int *ok = cls; 75 int *ok = cls;
76 76
77 GNUNET_STATISTICS_destroy (h); 77 GNUNET_STATISTICS_destroy (h, GNUNET_NO);
78 GNUNET_assert (success == GNUNET_OK); 78 GNUNET_assert (success == GNUNET_OK);
79 *ok = 0; 79 *ok = 0;
80} 80}