From d973b1bf149653e42441cd94ae177d82a4eb311c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 21 Jan 2010 14:52:11 +0000 Subject: [PATCH] fix --- src/topology/gnunet-daemon-topology.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index 9f23fdc50..d16869afd 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c @@ -164,7 +164,7 @@ struct DisconnectList /** * Our request handle. */ - struct GNUNET_CORE_InformationRequestContext *rh; + struct GNUNET_CORE_PeerRequestHandle *rh; /** * Peer we tried to disconnect. @@ -301,14 +301,11 @@ force_disconnect (const struct GNUNET_PeerIdentity *peer) GNUNET_CONTAINER_DLL_insert (disconnect_head, disconnect_tail, dl); - dl->rh = GNUNET_CORE_peer_get_info (sched, cfg, - peer, - GNUNET_TIME_UNIT_FOREVER_REL, - 0, - 0, - 0, - &disconnect_done, - dl); + dl->rh = GNUNET_CORE_peer_request_disconnect (sched, cfg, + GNUNET_TIME_UNIT_FOREVER_REL, + peer, + &disconnect_done, + dl); } -- 2.25.1