diff options
author | Julius Bünger <buenger@mytum.de> | 2019-02-25 13:55:18 +0100 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2019-02-25 13:55:18 +0100 |
commit | e5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa (patch) | |
tree | c5859072000606d95f319280f6164686209a442e /src/rps/gnunet-rps-profiler.c | |
parent | 689614a7e51f4fda776e99aa5892811fa5923b2d (diff) | |
download | gnunet-e5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa.tar.gz gnunet-e5897fbfbe7e2afb61b6cfe8ae29a480dd00fdfa.zip |
RPS profiler: Assert statistics handle non-NULL
Diffstat (limited to 'src/rps/gnunet-rps-profiler.c')
-rw-r--r-- | src/rps/gnunet-rps-profiler.c | 1 |
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], |