aboutsummaryrefslogtreecommitdiff
path: root/src/rps/rps_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r--src/rps/rps_api.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c
index 83dff27e8..fd0c12f47 100644
--- a/src/rps/rps_api.c
+++ b/src/rps/rps_api.c
@@ -383,16 +383,14 @@ peer_info_ready_cb (const struct GNUNET_PeerIdentity *peers,
383 double probability, 383 double probability,
384 uint32_t num_observed) 384 uint32_t num_observed)
385{ 385{
386 struct GNUNET_RPS_Request_Handle *rh = cls; 386 struct GNUNET_RPS_Request_Handle_Single_Info *rh = cls;
387 (void) probability;
388 (void) num_observed;
389 uint32_t num_peers = 1;
390 387
391 rh->sampler_rh = NULL; 388 rh->sampler_rh = NULL;
392 rh->ready_cb (rh->ready_cb_cls, 389 rh->ready_cb (rh->ready_cb_cls,
393 num_peers, 390 peers,
394 peers); 391 probability,
395 GNUNET_RPS_request_cancel (rh); 392 num_observed);
393 GNUNET_RPS_request_single_info_cancel (rh);
396} 394}
397 395
398 396