summaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2019-02-25 13:55:18 +0100
committerJulius Bünger <buenger@mytum.de>2019-02-25 13:55:18 +0100
commite5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa (patch)
treec5859072000606d95f319280f6164686209a442e /src/rps
parent689614a7e51f4fda776e99aa5892811fa5923b2d (diff)
downloadgnunet-e5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa.tar.gz
gnunet-e5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa.zip
RPS profiler: Assert statistics handle non-NULL
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/gnunet-rps-profiler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c
index 98fc8dccb..8e6fa389a 100644
--- a/src/rps/gnunet-rps-profiler.c
+++ b/src/rps/gnunet-rps-profiler.c
@@ -2685,6 +2685,7 @@ post_profiler (struct RPSPeer *rps_peer)
2685 post_test_shutdown_ready_cb, 2685 post_test_shutdown_ready_cb,
2686 stat_iterator, 2686 stat_iterator,
2687 (struct STATcls *) stat_cls); 2687 (struct STATcls *) stat_cls);
2688 GNUNET_assert (NULL != rps_peer->h_stat_get);
2688 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 2689 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2689 "Requested statistics for %s (peer %" PRIu32 ")\n", 2690 "Requested statistics for %s (peer %" PRIu32 ")\n",
2690 stat_type_strings [stat_type], 2691 stat_type_strings [stat_type],