From 6e3599bab213760c66f13f6103ebf650bbe5b7e9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 8 Jul 2016 16:34:31 +0000 Subject: migrate transport_core API to MQ --- src/transport/transport-testing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/transport/transport-testing.c') diff --git a/src/transport/transport-testing.c b/src/transport/transport-testing.c index 4a514ea72..4a3bf3c3e 100644 --- a/src/transport/transport-testing.c +++ b/src/transport/transport-testing.c @@ -246,7 +246,7 @@ offer_hello (void *cls) if (NULL != cc->oh) GNUNET_TRANSPORT_offer_hello_cancel (cc->oh); cc->oh = - GNUNET_TRANSPORT_offer_hello (cc->p1->th, + GNUNET_TRANSPORT_offer_hello (cc->p1->cfg, (const struct GNUNET_MessageHeader *) cc->p2->hello, &hello_offered, cc); @@ -380,7 +380,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth GNUNET_TRANSPORT_TESTING_stop_peer (tth, p); return NULL; } - p->ghh = GNUNET_TRANSPORT_get_hello (p->th, + p->ghh = GNUNET_TRANSPORT_get_hello (p->cfg, &get_hello, p); GNUNET_assert (p->ghh != NULL); @@ -465,7 +465,7 @@ GNUNET_TRANSPORT_TESTING_restart_peer (struct PeerContext *p, ¬ify_disconnect); GNUNET_assert (NULL != p->th); p->ats = GNUNET_ATS_connectivity_init (p->cfg); - p->ghh = GNUNET_TRANSPORT_get_hello (p->th, + p->ghh = GNUNET_TRANSPORT_get_hello (p->cfg, &get_hello, p); GNUNET_assert (NULL != p->ghh); -- cgit v1.2.3