aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport-testing.c
diff options
context:
space:
mode:
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)
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 &notify_disconnect); 465 &notify_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);