summaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_sampler.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2019-04-08 00:55:35 +0200
committerJulius Bünger <buenger@mytum.de>2019-04-08 00:56:13 +0200
commit3afe1a3435697b01fee557420a701fba1821dbe5 (patch)
treed829a665412d2d59bccc77df309bd4d75a9c9ded /src/rps/gnunet-service-rps_sampler.c
parentb1d840b2104b9cf4a1cd6997bce39bd4b6c1b8bf (diff)
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.c2
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)
gpc->req_handle->gpc_tail,
gpc);
*gpc->id = sampler->sampler_elements[r_index]->peer_id;
- gpc->cont (gpc->cont_cls, gpc->id);
+ gpc->cont (gpc->cont_cls, gpc->id, 0, sampler->sampler_elements[r_index]->num_peers);
GNUNET_free (gpc);
}