From 775bf0a991b97e92a5da28a8d3cebcb364f83fb7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 19 Jul 2010 19:47:56 +0000 Subject: [PATCH] fixing 1581 --- src/statistics/statistics_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c index a5dde0e55..29b1cbbfd 100644 --- a/src/statistics/statistics_api.c +++ b/src/statistics/statistics_api.c @@ -491,7 +491,6 @@ receive_stats (void *cls, const struct GNUNET_MessageHeader *msg) "Received end of statistics marker\n"); #endif h->backoff = GNUNET_TIME_UNIT_MILLISECONDS; - finish (h, GNUNET_OK); if (h->watches_size > 0) { GNUNET_CLIENT_receive (h->client, @@ -503,6 +502,7 @@ receive_stats (void *cls, const struct GNUNET_MessageHeader *msg) { h->receiving = GNUNET_NO; } + finish (h, GNUNET_OK); return; case GNUNET_MESSAGE_TYPE_STATISTICS_VALUE: if (GNUNET_OK == process_message (h, msg)) -- 2.25.1