From: Christian Grothoff Date: Mon, 19 Jul 2010 19:47:56 +0000 (+0000) Subject: fixing 1581 X-Git-Tag: initial-import-from-subversion-38251~20927 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=775bf0a991b97e92a5da28a8d3cebcb364f83fb7;p=oweals%2Fgnunet.git fixing 1581 --- 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))