diff options
Diffstat (limited to 'src/statistics')
-rw-r--r-- | src/statistics/statistics_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index acaa1cc45..f72c8525b 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -921,6 +921,7 @@ GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h, | |||
921 | return; | 921 | return; |
922 | GNUNET_assert (GNUNET_NO == h->do_destroy); /* Don't call twice. */ | 922 | GNUNET_assert (GNUNET_NO == h->do_destroy); /* Don't call twice. */ |
923 | if ( (sync_first) && | 923 | if ( (sync_first) && |
924 | (0 != GNUNET_MQ_get_length (h->mq)) && | ||
924 | (GNUNET_YES == try_connect (h)) ) | 925 | (GNUNET_YES == try_connect (h)) ) |
925 | { | 926 | { |
926 | if ( (NULL != h->current) && | 927 | if ( (NULL != h->current) && |