From 505524f3cc4444bcd4c7b1982599962547298dfc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 5 Oct 2011 13:22:50 +0000 Subject: [PATCH] tell transport to connect, not core --- src/dht/gnunet-service-dht_neighbours.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index e1491a263..418474c74 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c @@ -1983,11 +1983,12 @@ handle_dht_p2p_result (void *cls, const struct GNUNET_PeerIdentity *peer, (k_buckets[bucket].peers_size < bucket_size) ) { if (NULL != GDS_transport_handle) + { GNUNET_TRANSPORT_offer_hello (GDS_transport_handle, h, NULL, NULL); - (void) GNUNET_CORE_peer_request_connect (coreAPI, - &pid, - NULL, NULL); + GNUNET_TRANSPORT_try_connect (GDS_transport_handle, + &pid); + } } } } -- 2.25.1