aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/statistics/statistics_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index f72c8525b..5ba78521c 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -921,7 +921,8 @@ 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 (NULL != h->mq) &&
925 (0 != GNUNET_MQ_get_length (h->mq))
925 (GNUNET_YES == try_connect (h)) ) 926 (GNUNET_YES == try_connect (h)) )
926 { 927 {
927 if ( (NULL != h->current) && 928 if ( (NULL != h->current) &&