summaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.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/transport/transport-testing.c
parent2c0a286c8c29e135c68556658b6ac6cef48a874a (diff)
migrate transport_core API to MQ
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r--src/transport/transport-testing.c6
1 files changed, 3 insertions, 3 deletions
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,
&notify_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);