From: Christian Grothoff Date: Wed, 5 Oct 2011 13:22:50 +0000 (+0000) Subject: tell transport to connect, not core X-Git-Tag: initial-import-from-subversion-38251~16783 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=505524f3cc4444bcd4c7b1982599962547298dfc;p=oweals%2Fgnunet.git tell transport to connect, not core --- 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); + } } } }