[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/02: fix rps profiler: mark statistics get done
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/02: fix rps profiler: mark statistics get done in right place |
Date: |
Tue, 10 Jul 2018 12:39:01 +0200 |
This is an automated email from the git hooks/post-receive script.
julius-buenger pushed a commit to branch master
in repository gnunet.
commit a5c75acc95be6f1b02f5eb3fb039f7c7fa7e4877
Author: Julius Bünger <address@hidden>
AuthorDate: Tue Jul 10 12:37:57 2018 +0200
fix rps profiler: mark statistics get done in right place
---
src/rps/gnunet-rps-profiler.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index cab7f6dc4..4ebd745e8 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -2372,6 +2372,8 @@ post_test_shutdown_ready_cb (void *cls,
{
struct STATcls *stat_cls = (struct STATcls *) cls;
struct RPSPeer *rps_peer = stat_cls->rps_peer;
+
+ rps_peer->h_stat_get[stat_cls->stat_type] = NULL;
if (GNUNET_OK == success)
{
/* set flag that we we got the value */
@@ -2428,7 +2430,6 @@ stat_iterator (void *cls,
//stat_type_2_str (stat_cls->stat_type),
name,
value);
- rps_peer->h_stat_get[stat_str_2_type (name)] = NULL;
to_file (rps_peer->file_name_stats,
"%s: %" PRIu64 "\n",
name,
--
To stop receiving notification emails like this one, please contact
address@hidden