From: Christian Grothoff Date: Thu, 21 Jan 2010 14:52:11 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22892 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d973b1bf149653e42441cd94ae177d82a4eb311c;p=oweals%2Fgnunet.git fix --- 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); }