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)
downloadgnunet-6e3599bab213760c66f13f6103ebf650bbe5b7e9.tar.gz
gnunet-6e3599bab213760c66f13f6103ebf650bbe5b7e9.zip
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 4add3c4ae..b24a95ab2 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,
592 ci, 592 ci,
593 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); 593 GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY));
594 } 594 }
595 if ( (NULL != GDS_transport_handle) && 595 if ( (NULL != ci->oh) &&
596 (NULL != ci->oh) &&
597 (NULL != h) ) 596 (NULL != h) )
598 GNUNET_TRANSPORT_offer_hello_cancel (ci->oh); 597 GNUNET_TRANSPORT_offer_hello_cancel (ci->oh);
599 if ( (NULL != GDS_transport_handle) && 598 if (NULL != h)
600 (NULL != h) ) 599 ci->oh = GNUNET_TRANSPORT_offer_hello (GDS_cfg,
601 ci->oh = GNUNET_TRANSPORT_offer_hello (GDS_transport_handle,
602 h, 600 h,
603 &offer_hello_done, 601 &offer_hello_done,
604 ci); 602 ci);