diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:34:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-08 16:34:31 +0000 |
commit | 6e3599bab213760c66f13f6103ebf650bbe5b7e9 (patch) | |
tree | f56a0bbe3ce64c818c87bae6171ba800ab05b701 /src/transport/transport-testing.c | |
parent | 2c0a286c8c29e135c68556658b6ac6cef48a874a (diff) | |
download | gnunet-6e3599bab213760c66f13f6103ebf650bbe5b7e9.tar.gz gnunet-6e3599bab213760c66f13f6103ebf650bbe5b7e9.zip |
migrate transport_core API to MQ
Diffstat (limited to 'src/transport/transport-testing.c')
-rw-r--r-- | src/transport/transport-testing.c | 6 |
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) | |||
246 | if (NULL != cc->oh) | 246 | if (NULL != cc->oh) |
247 | GNUNET_TRANSPORT_offer_hello_cancel (cc->oh); | 247 | GNUNET_TRANSPORT_offer_hello_cancel (cc->oh); |
248 | cc->oh = | 248 | cc->oh = |
249 | GNUNET_TRANSPORT_offer_hello (cc->p1->th, | 249 | GNUNET_TRANSPORT_offer_hello (cc->p1->cfg, |
250 | (const struct GNUNET_MessageHeader *) cc->p2->hello, | 250 | (const struct GNUNET_MessageHeader *) cc->p2->hello, |
251 | &hello_offered, | 251 | &hello_offered, |
252 | cc); | 252 | cc); |
@@ -380,7 +380,7 @@ GNUNET_TRANSPORT_TESTING_start_peer (struct GNUNET_TRANSPORT_TESTING_handle *tth | |||
380 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p); | 380 | GNUNET_TRANSPORT_TESTING_stop_peer (tth, p); |
381 | return NULL; | 381 | return NULL; |
382 | } | 382 | } |
383 | p->ghh = GNUNET_TRANSPORT_get_hello (p->th, | 383 | p->ghh = GNUNET_TRANSPORT_get_hello (p->cfg, |
384 | &get_hello, | 384 | &get_hello, |
385 | p); | 385 | p); |
386 | GNUNET_assert (p->ghh != NULL); | 386 | GNUNET_assert (p->ghh != NULL); |
@@ -465,7 +465,7 @@ GNUNET_TRANSPORT_TESTING_restart_peer (struct PeerContext *p, | |||
465 | ¬ify_disconnect); | 465 | ¬ify_disconnect); |
466 | GNUNET_assert (NULL != p->th); | 466 | GNUNET_assert (NULL != p->th); |
467 | p->ats = GNUNET_ATS_connectivity_init (p->cfg); | 467 | p->ats = GNUNET_ATS_connectivity_init (p->cfg); |
468 | p->ghh = GNUNET_TRANSPORT_get_hello (p->th, | 468 | p->ghh = GNUNET_TRANSPORT_get_hello (p->cfg, |
469 | &get_hello, | 469 | &get_hello, |
470 | p); | 470 | p); |
471 | GNUNET_assert (NULL != p->ghh); | 471 | GNUNET_assert (NULL != p->ghh); |