aboutsummaryrefslogtreecommitdiff
path: root/src/dht/gnunet-service-dht_neighbours.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-08 16:34:31 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-08 16:34:31 +0000
commit6e3599bab213760c66f13f6103ebf650bbe5b7e9 (patch)
treef56a0bbe3ce64c818c87bae6171ba800ab05b701 /src/dht/gnunet-service-dht_neighbours.c
parent2c0a286c8c29e135c68556658b6ac6cef48a874a (diff)
migrate transport_core API to MQ
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r--src/dht/gnunet-service-dht_neighbours.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c
index 4add3c4aee..b24a95ab24 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -592,13 +592,11 @@ try_connect (const struct GNUNET_PeerIdentity *pid,
ci,
GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
}
- if ( (NULL != GDS_transport_handle) &&
- (NULL != ci->oh) &&
+ if ( (NULL != ci->oh) &&
(NULL != h) )
GNUNET_TRANSPORT_offer_hello_cancel (ci->oh);
- if ( (NULL != GDS_transport_handle) &&
- (NULL != h) )
- ci->oh = GNUNET_TRANSPORT_offer_hello (GDS_transport_handle,
+ if (NULL != h)
+ ci->oh = GNUNET_TRANSPORT_offer_hello (GDS_cfg,
h,
&offer_hello_done,
ci);