aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-19 19:47:56 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-19 19:47:56 +0000
commit775bf0a991b97e92a5da28a8d3cebcb364f83fb7 (patch)
treee4394cebfa7185e5fb9104e64b039bf294e86faa /src/statistics
parenta763617a689bf6096c044e2eab17ffaa44b1ab4a (diff)
downloadgnunet-775bf0a991b97e92a5da28a8d3cebcb364f83fb7.tar.gz
gnunet-775bf0a991b97e92a5da28a8d3cebcb364f83fb7.zip
fixing 1581
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/statistics_api.c2
1 files changed, 1 insertions, 1 deletions
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)
491 "Received end of statistics marker\n"); 491 "Received end of statistics marker\n");
492#endif 492#endif
493 h->backoff = GNUNET_TIME_UNIT_MILLISECONDS; 493 h->backoff = GNUNET_TIME_UNIT_MILLISECONDS;
494 finish (h, GNUNET_OK);
495 if (h->watches_size > 0) 494 if (h->watches_size > 0)
496 { 495 {
497 GNUNET_CLIENT_receive (h->client, 496 GNUNET_CLIENT_receive (h->client,
@@ -503,6 +502,7 @@ receive_stats (void *cls, const struct GNUNET_MessageHeader *msg)
503 { 502 {
504 h->receiving = GNUNET_NO; 503 h->receiving = GNUNET_NO;
505 } 504 }
505 finish (h, GNUNET_OK);
506 return; 506 return;
507 case GNUNET_MESSAGE_TYPE_STATISTICS_VALUE: 507 case GNUNET_MESSAGE_TYPE_STATISTICS_VALUE:
508 if (GNUNET_OK == process_message (h, msg)) 508 if (GNUNET_OK == process_message (h, msg))