aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index 92ee038da..43f4c421e 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -65,9 +65,9 @@ process_hello (void *cls,
65 "Received (my) `%s' from transport service\n", "HELLO"); 65 "Received (my) `%s' from transport service\n", "HELLO");
66 GNUNET_assert (message != NULL); 66 GNUNET_assert (message != NULL);
67 if ((p == &p1) && (p2.th != NULL)) 67 if ((p == &p1) && (p2.th != NULL))
68 GNUNET_TRANSPORT_offer_hello (p2.th, message, NULL, NULL); 68 GNUNET_TRANSPORT_offer_hello (p2.cfg, message, NULL, NULL);
69 if ((p == &p2) && (p1.th != NULL)) 69 if ((p == &p2) && (p1.th != NULL))
70 GNUNET_TRANSPORT_offer_hello (p1.th, message, NULL, NULL); 70 GNUNET_TRANSPORT_offer_hello (p1.cfg, message, NULL, NULL);
71} 71}
72 72
73 73
@@ -280,7 +280,7 @@ setup_peer (struct PeerContext *p,
280 GNUNET_assert (NULL != p->th); 280 GNUNET_assert (NULL != p->th);
281 p->ats = GNUNET_ATS_connectivity_init (p->cfg); 281 p->ats = GNUNET_ATS_connectivity_init (p->cfg);
282 GNUNET_assert (NULL != p->ats); 282 GNUNET_assert (NULL != p->ats);
283 p->ghh = GNUNET_TRANSPORT_get_hello (p->th, &process_hello, p); 283 p->ghh = GNUNET_TRANSPORT_get_hello (p->cfg, &process_hello, p);
284 GNUNET_free (binary); 284 GNUNET_free (binary);
285} 285}
286 286