aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/gnunet-service-testbed.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-11-09 13:33:40 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-11-09 13:33:40 +0000
commita61fe2107d79336c3da80591c24256b6dbd3d159 (patch)
tree5e28e476165f456ff7b18214ff744402297ad37c /src/testbed/gnunet-service-testbed.c
parent755b5bb632de94de0e6b0e55212fbcce7b6c719c (diff)
downloadgnunet-a61fe2107d79336c3da80591c24256b6dbd3d159.tar.gz
gnunet-a61fe2107d79336c3da80591c24256b6dbd3d159.zip
changes to transport api
Diffstat (limited to 'src/testbed/gnunet-service-testbed.c')
-rw-r--r--src/testbed/gnunet-service-testbed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c
index 2f606928a..bdff6dd13 100644
--- a/src/testbed/gnunet-service-testbed.c
+++ b/src/testbed/gnunet-service-testbed.c
@@ -2964,7 +2964,7 @@ send_hello (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
2964 2964
2965 /* FIXME: once offer_hello offers a handle to cancel remove the following lines */ 2965 /* FIXME: once offer_hello offers a handle to cancel remove the following lines */
2966 GNUNET_TRANSPORT_offer_hello (occ->p2th, occ->hello, NULL, NULL); 2966 GNUNET_TRANSPORT_offer_hello (occ->p2th, occ->hello, NULL, NULL);
2967 GNUNET_TRANSPORT_try_connect (occ->p2th, &occ->peer_identity); 2967 GNUNET_TRANSPORT_try_connect (occ->p2th, &occ->peer_identity, NULL, NULL); /*FIXME TRY_CONNECT change */
2968 occ->send_hello_task = 2968 occ->send_hello_task =
2969 GNUNET_SCHEDULER_add_delayed 2969 GNUNET_SCHEDULER_add_delayed
2970 (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 2970 (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS,
@@ -3518,7 +3518,7 @@ attempt_connect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
3518 3518
3519 rocc->attempt_connect_task_id = GNUNET_SCHEDULER_NO_TASK; 3519 rocc->attempt_connect_task_id = GNUNET_SCHEDULER_NO_TASK;
3520 GNUNET_TRANSPORT_offer_hello (rocc->th, rocc->hello, NULL, NULL); 3520 GNUNET_TRANSPORT_offer_hello (rocc->th, rocc->hello, NULL, NULL);
3521 GNUNET_TRANSPORT_try_connect (rocc->th, &rocc->a_id); 3521 GNUNET_TRANSPORT_try_connect (rocc->th, &rocc->a_id, NULL, NULL); /*FIXME TRY_CONNECT change */
3522 rocc->attempt_connect_task_id = 3522 rocc->attempt_connect_task_id =
3523 GNUNET_SCHEDULER_add_delayed 3523 GNUNET_SCHEDULER_add_delayed
3524 (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 3524 (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS,