From 79b600acfc7cbcd20cdaac04be7716c8c893ac4e Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Thu, 5 Jul 2018 17:09:06 +0200 Subject: fix rps profiler: mark operation as done on shutdown --- src/rps/gnunet-rps-profiler.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/rps/gnunet-rps-profiler.c') diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index ec73f1803..dcd72aef1 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c @@ -905,6 +905,7 @@ shutdown_op (void *cls) if (NULL != rps_peers[i].op) { GNUNET_TESTBED_operation_done (rps_peers[i].op); + rps_peers[i].op = NULL; } } } @@ -2263,12 +2264,6 @@ void write_final_stats (void){ stat_type < STAT_TYPE_MAX; stat_type++) { - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Add to sum (%" PRIu64 ") %" PRIu64 " of stat type %u - %s\n", - sums[stat_type], - rps_peers[i].stats[stat_type], - stat_type, - stat_type_2_str (stat_type)); sums[stat_type] += rps_peers[i].stats[stat_type]; } } -- cgit v1.2.3