diff options
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_testing_large_topology.c | 4 | ||||
-rw-r--r-- | src/testing/test_testing_topology.c | 4 | ||||
-rw-r--r-- | src/testing/testing.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/testing/test_testing_large_topology.c b/src/testing/test_testing_large_topology.c index d126ab940..cd80db195 100644 --- a/src/testing/test_testing_large_topology.c +++ b/src/testing/test_testing_large_topology.c | |||
@@ -564,7 +564,7 @@ init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server, | |||
564 | * Connect to the receiving peer | 564 | * Connect to the receiving peer |
565 | */ | 565 | */ |
566 | pos->peer2handle = | 566 | pos->peer2handle = |
567 | GNUNET_CORE_connect (pos->peer2->cfg, 1, pos, &init_notify_peer2, NULL, | 567 | GNUNET_CORE_connect (pos->peer2->cfg, pos, &init_notify_peer2, NULL, |
568 | NULL, NULL, NULL, GNUNET_YES, NULL, GNUNET_YES, | 568 | NULL, NULL, NULL, GNUNET_YES, NULL, GNUNET_YES, |
569 | handlers); | 569 | handlers); |
570 | 570 | ||
@@ -603,7 +603,7 @@ send_test_messages (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
603 | * Connect to the sending peer | 603 | * Connect to the sending peer |
604 | */ | 604 | */ |
605 | pos->peer1handle = | 605 | pos->peer1handle = |
606 | GNUNET_CORE_connect (pos->peer1->cfg, 1, pos, &init_notify_peer1, | 606 | GNUNET_CORE_connect (pos->peer1->cfg, pos, &init_notify_peer1, |
607 | &connect_notify_peers, NULL, NULL, NULL, GNUNET_NO, | 607 | &connect_notify_peers, NULL, NULL, NULL, GNUNET_NO, |
608 | NULL, GNUNET_NO, no_handlers); | 608 | NULL, GNUNET_NO, no_handlers); |
609 | 609 | ||
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c index b21654483..94cbc0df6 100644 --- a/src/testing/test_testing_topology.c +++ b/src/testing/test_testing_topology.c | |||
@@ -585,7 +585,7 @@ init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server, | |||
585 | * Connect to the receiving peer | 585 | * Connect to the receiving peer |
586 | */ | 586 | */ |
587 | pos->peer2handle = | 587 | pos->peer2handle = |
588 | GNUNET_CORE_connect (pos->peer2->cfg, 1, pos, &init_notify_peer2, NULL, | 588 | GNUNET_CORE_connect (pos->peer2->cfg, pos, &init_notify_peer2, NULL, |
589 | NULL, NULL, GNUNET_YES, NULL, GNUNET_YES, handlers); | 589 | NULL, NULL, GNUNET_YES, NULL, GNUNET_YES, handlers); |
590 | 590 | ||
591 | } | 591 | } |
@@ -623,7 +623,7 @@ send_test_messages (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
623 | * Connect to the sending peer | 623 | * Connect to the sending peer |
624 | */ | 624 | */ |
625 | pos->peer1handle = | 625 | pos->peer1handle = |
626 | GNUNET_CORE_connect (pos->peer1->cfg, 1, pos, &init_notify_peer1, | 626 | GNUNET_CORE_connect (pos->peer1->cfg, pos, &init_notify_peer1, |
627 | &connect_notify_peers, NULL, NULL, GNUNET_NO, NULL, | 627 | &connect_notify_peers, NULL, NULL, GNUNET_NO, NULL, |
628 | GNUNET_NO, no_handlers); | 628 | GNUNET_NO, no_handlers); |
629 | 629 | ||
diff --git a/src/testing/testing.c b/src/testing/testing.c index 31bea068c..a80ad25cf 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -1911,7 +1911,7 @@ reattempt_daemons_connect (void *cls, | |||
1911 | GNUNET_assert (ctx->d1core == NULL); | 1911 | GNUNET_assert (ctx->d1core == NULL); |
1912 | ctx->d1core_ready = GNUNET_NO; | 1912 | ctx->d1core_ready = GNUNET_NO; |
1913 | ctx->d1core = | 1913 | ctx->d1core = |
1914 | GNUNET_CORE_connect (ctx->d1->cfg, 1, ctx, &core_init_notify, | 1914 | GNUNET_CORE_connect (ctx->d1->cfg, ctx, &core_init_notify, |
1915 | &connect_notify, NULL, NULL, GNUNET_NO, NULL, | 1915 | &connect_notify, NULL, NULL, GNUNET_NO, NULL, |
1916 | GNUNET_NO, no_handlers); | 1916 | GNUNET_NO, no_handlers); |
1917 | if (ctx->d1core == NULL) | 1917 | if (ctx->d1core == NULL) |
@@ -2055,7 +2055,7 @@ core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
2055 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 2055 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
2056 | "Peers are NOT connected, connecting to core!\n"); | 2056 | "Peers are NOT connected, connecting to core!\n"); |
2057 | ctx->d1core = | 2057 | ctx->d1core = |
2058 | GNUNET_CORE_connect (ctx->d1->cfg, 1, ctx, &core_init_notify, | 2058 | GNUNET_CORE_connect (ctx->d1->cfg, ctx, &core_init_notify, |
2059 | &connect_notify, NULL, NULL, GNUNET_NO, NULL, | 2059 | &connect_notify, NULL, NULL, GNUNET_NO, NULL, |
2060 | GNUNET_NO, no_handlers); | 2060 | GNUNET_NO, no_handlers); |
2061 | } | 2061 | } |