[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29208 - gnunet/src/statistics
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29208 - gnunet/src/statistics |
Date: |
Wed, 11 Sep 2013 16:35:23 +0200 |
Author: grothoff
Date: 2013-09-11 16:35:23 +0200 (Wed, 11 Sep 2013)
New Revision: 29208
Modified:
gnunet/src/statistics/gnunet-statistics.c
Log:
-fix assertion
Modified: gnunet/src/statistics/gnunet-statistics.c
===================================================================
--- gnunet/src/statistics/gnunet-statistics.c 2013-09-11 14:34:54 UTC (rev
29207)
+++ gnunet/src/statistics/gnunet-statistics.c 2013-09-11 14:35:23 UTC (rev
29208)
@@ -162,7 +162,9 @@
if (NULL == h)
return;
- if (GNUNET_YES == watch)
+ if ( (GNUNET_YES == watch) &&
+ (NULL != subsystem) &&
+ (NULL != name) )
GNUNET_assert (GNUNET_OK ==
GNUNET_STATISTICS_watch_cancel (h, subsystem, name,
&printer, h));
GNUNET_STATISTICS_destroy (h, GNUNET_NO);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29208 - gnunet/src/statistics,
gnunet <=