aboutsummaryrefslogtreecommitdiff
path: root/src/topology
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-01-21 14:52:11 +0000
committerChristian Grothoff <christian@grothoff.org>2010-01-21 14:52:11 +0000
commitd973b1bf149653e42441cd94ae177d82a4eb311c (patch)
treed796f1e19554e7072287d5e6aecb22b07c832837 /src/topology
parentee31486a405f33d1a4ec77bacb7cd1a9b876734e (diff)
downloadgnunet-d973b1bf149653e42441cd94ae177d82a4eb311c.tar.gz
gnunet-d973b1bf149653e42441cd94ae177d82a4eb311c.zip
fix
Diffstat (limited to 'src/topology')
-rw-r--r--src/topology/gnunet-daemon-topology.c15
1 files 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
164 /** 164 /**
165 * Our request handle. 165 * Our request handle.
166 */ 166 */
167 struct GNUNET_CORE_InformationRequestContext *rh; 167 struct GNUNET_CORE_PeerRequestHandle *rh;
168 168
169 /** 169 /**
170 * Peer we tried to disconnect. 170 * Peer we tried to disconnect.
@@ -301,14 +301,11 @@ force_disconnect (const struct GNUNET_PeerIdentity *peer)
301 GNUNET_CONTAINER_DLL_insert (disconnect_head, 301 GNUNET_CONTAINER_DLL_insert (disconnect_head,
302 disconnect_tail, 302 disconnect_tail,
303 dl); 303 dl);
304 dl->rh = GNUNET_CORE_peer_get_info (sched, cfg, 304 dl->rh = GNUNET_CORE_peer_request_disconnect (sched, cfg,
305 peer, 305 GNUNET_TIME_UNIT_FOREVER_REL,
306 GNUNET_TIME_UNIT_FOREVER_REL, 306 peer,
307 0, 307 &disconnect_done,
308 0, 308 dl);
309 0,
310 &disconnect_done,
311 dl);
312} 309}
313 310
314 311