diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-10-25 10:57:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-10-25 10:57:43 +0000 |
commit | 42dbd0d48e6bd38d58c7d58d523f5f71efed22a0 (patch) | |
tree | 55113c83d4002cfd8a044ac736d579ad2bc85118 /src/statistics/test_statistics_api.c | |
parent | f4dfb3bfeadf3ce0788fef942804fe4f25e7fc99 (diff) | |
download | gnunet-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.c | 2 |
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 | } |