projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689614a
)
RPS profiler: Assert statistics handle non-NULL
author
Julius Bünger
<buenger@mytum.de>
Mon, 25 Feb 2019 12:55:18 +0000
(13:55 +0100)
committer
Julius Bünger
<buenger@mytum.de>
Mon, 25 Feb 2019 12:55:18 +0000
(13:55 +0100)
src/rps/gnunet-rps-profiler.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-rps-profiler.c
b/src/rps/gnunet-rps-profiler.c
index 98fc8dccb2405030cf46c8905c1324e60d814f37..8e6fa389ad5cde34abc86dde3c78409ce79a6160 100644
(file)
--- a/
src/rps/gnunet-rps-profiler.c
+++ b/
src/rps/gnunet-rps-profiler.c
@@
-2685,6
+2685,7
@@
post_profiler (struct RPSPeer *rps_peer)
post_test_shutdown_ready_cb,
stat_iterator,
(struct STATcls *) stat_cls);
+ GNUNET_assert (NULL != rps_peer->h_stat_get);
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Requested statistics for %s (peer %" PRIu32 ")\n",
stat_type_strings [stat_type],