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/core/test_core_api.c | |
parent | 2c0a286c8c29e135c68556658b6ac6cef48a874a (diff) | |
download | gnunet-6e3599bab213760c66f13f6103ebf650bbe5b7e9.tar.gz gnunet-6e3599bab213760c66f13f6103ebf650bbe5b7e9.zip |
migrate transport_core API to MQ
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r-- | src/core/test_core_api.c | 6 |
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 | ||