diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-08-22 13:23:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-08-22 13:23:07 +0000 |
commit | 43c73b22d65bb24511f7aa9c9168b4ff2e8d4d56 (patch) | |
tree | 71fa760f8cbd087b5a97d05c9ca931e6b6c143ea /src/statistics | |
parent | 6aba3a8920b721732c32f1722b49971005fa94de (diff) | |
download | gnunet-43c73b22d65bb24511f7aa9c9168b4ff2e8d4d56.tar.gz gnunet-43c73b22d65bb24511f7aa9c9168b4ff2e8d4d56.zip |
-fix NPE
Diffstat (limited to 'src/statistics')
-rw-r--r-- | src/statistics/statistics_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index 5ba78521c..c8709145b 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c | |||
@@ -922,7 +922,7 @@ GNUNET_STATISTICS_destroy (struct GNUNET_STATISTICS_Handle *h, | |||
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 | (NULL != h->mq) && | 924 | (NULL != h->mq) && |
925 | (0 != GNUNET_MQ_get_length (h->mq)) | 925 | (0 != GNUNET_MQ_get_length (h->mq)) && |
926 | (GNUNET_YES == try_connect (h)) ) | 926 | (GNUNET_YES == try_connect (h)) ) |
927 | { | 927 | { |
928 | if ( (NULL != h->current) && | 928 | if ( (NULL != h->current) && |