diff options
author | Julius Bünger <buenger@mytum.de> | 2019-04-08 00:55:35 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2019-04-08 00:56:13 +0200 |
commit | 3afe1a3435697b01fee557420a701fba1821dbe5 (patch) | |
tree | d829a665412d2d59bccc77df309bd4d75a9c9ded /src/rps/gnunet-service-rps_sampler.c | |
parent | b1d840b2104b9cf4a1cd6997bce39bd4b6c1b8bf (diff) | |
download | gnunet-3afe1a3435697b01fee557420a701fba1821dbe5.tar.gz gnunet-3afe1a3435697b01fee557420a701fba1821dbe5.zip |
RPS: Retrieve more info from sampler for profiling
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.c')
-rw-r--r-- | src/rps/gnunet-service-rps_sampler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.c b/src/rps/gnunet-service-rps_sampler.c index a95ac82d4..e17b154ca 100644 --- a/src/rps/gnunet-service-rps_sampler.c +++ b/src/rps/gnunet-service-rps_sampler.c | |||
@@ -257,7 +257,7 @@ sampler_get_rand_peer (void *cls) | |||
257 | gpc->req_handle->gpc_tail, | 257 | gpc->req_handle->gpc_tail, |
258 | gpc); | 258 | gpc); |
259 | *gpc->id = sampler->sampler_elements[r_index]->peer_id; | 259 | *gpc->id = sampler->sampler_elements[r_index]->peer_id; |
260 | gpc->cont (gpc->cont_cls, gpc->id); | 260 | gpc->cont (gpc->cont_cls, gpc->id, 0, sampler->sampler_elements[r_index]->num_peers); |
261 | 261 | ||
262 | GNUNET_free (gpc); | 262 | GNUNET_free (gpc); |
263 | } | 263 | } |