[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r37752 - gnunet/src/statistics
From: |
gnunet |
Subject: |
[GNUnet-SVN] r37752 - gnunet/src/statistics |
Date: |
Mon, 22 Aug 2016 15:22:49 +0200 |
Author: grothoff
Date: 2016-08-22 15:22:49 +0200 (Mon, 22 Aug 2016)
New Revision: 37752
Modified:
gnunet/src/statistics/statistics_api.c
Log:
-fix NPE
Modified: gnunet/src/statistics/statistics_api.c
===================================================================
--- gnunet/src/statistics/statistics_api.c 2016-08-22 13:12:28 UTC (rev
37751)
+++ gnunet/src/statistics/statistics_api.c 2016-08-22 13:22:49 UTC (rev
37752)
@@ -921,7 +921,8 @@
return;
GNUNET_assert (GNUNET_NO == h->do_destroy); /* Don't call twice. */
if ( (sync_first) &&
- (0 != GNUNET_MQ_get_length (h->mq)) &&
+ (NULL != h->mq) &&
+ (0 != GNUNET_MQ_get_length (h->mq))
(GNUNET_YES == try_connect (h)) )
{
if ( (NULL != h->current) &&
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r37752 - gnunet/src/statistics,
gnunet <=