From 3afe1a3435697b01fee557420a701fba1821dbe5 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Mon, 8 Apr 2019 00:55:35 +0200 Subject: RPS: Retrieve more info from sampler for profiling --- src/rps/gnunet-service-rps_sampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rps/gnunet-service-rps_sampler.c') 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); } -- cgit v1.2.3