diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-06-21 18:29:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-06-21 18:29:03 +0000 |
commit | 3d7b29ec1c5d1c2de96cf4c9badaa112e86ef899 (patch) | |
tree | b586e13615fe58377cef5c0a238a677e5fd8f609 /src/testbed/testbed_api_statistics.c | |
parent | 1732154b8c021e7ee0e34c28cf3b1a843454727a (diff) | |
download | gnunet-3d7b29ec1c5d1c2de96cf4c9badaa112e86ef899.tar.gz gnunet-3d7b29ec1c5d1c2de96cf4c9badaa112e86ef899.zip |
update statistics API to use new MQ API style, also get rid of timeout argument
Diffstat (limited to 'src/testbed/testbed_api_statistics.c')
-rw-r--r-- | src/testbed/testbed_api_statistics.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/testbed/testbed_api_statistics.c b/src/testbed/testbed_api_statistics.c index a4778f84d..4fd117953 100644 --- a/src/testbed/testbed_api_statistics.c +++ b/src/testbed/testbed_api_statistics.c | |||
@@ -262,10 +262,11 @@ service_connect_comp (void *cls, | |||
262 | struct PeerGetStatsContext *peer_sc = cls; | 262 | struct PeerGetStatsContext *peer_sc = cls; |
263 | struct GNUNET_STATISTICS_Handle *h = ca_result; | 263 | struct GNUNET_STATISTICS_Handle *h = ca_result; |
264 | 264 | ||
265 | LOG_DEBUG ("Retrieving statistics of peer %u\n", peer_sc->peer_index); | 265 | LOG_DEBUG ("Retrieving statistics of peer %u\n", |
266 | peer_sc->peer_index); | ||
266 | peer_sc->get_handle = | 267 | peer_sc->get_handle = |
267 | GNUNET_STATISTICS_get (h, peer_sc->sc->subsystem, peer_sc->sc->name, | 268 | GNUNET_STATISTICS_get (h, peer_sc->sc->subsystem, |
268 | GNUNET_TIME_UNIT_FOREVER_REL, | 269 | peer_sc->sc->name, |
269 | &iteration_completion_cb, | 270 | &iteration_completion_cb, |
270 | iterator_cb, peer_sc); | 271 | iterator_cb, peer_sc); |
271 | } | 272 | } |