diff options
Diffstat (limited to 'src/testing/test_testing_topology.c')
-rw-r--r-- | src/testing/test_testing_topology.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/testing/test_testing_topology.c b/src/testing/test_testing_topology.c index e563f4d64..deaeae457 100644 --- a/src/testing/test_testing_topology.c +++ b/src/testing/test_testing_topology.c | |||
@@ -349,7 +349,7 @@ static int | |||
349 | process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, | 349 | process_mtype (void *cls, const struct GNUNET_PeerIdentity *peer, |
350 | const struct GNUNET_MessageHeader *message, | 350 | const struct GNUNET_MessageHeader *message, |
351 | const struct GNUNET_ATS_Information *atsi, | 351 | const struct GNUNET_ATS_Information *atsi, |
352 | unsigned int atsi_count) | 352 | unsigned int atsi_count) |
353 | { | 353 | { |
354 | char *dotOutFileNameFinished; | 354 | char *dotOutFileNameFinished; |
355 | FILE *dotOutFileFinished; | 355 | FILE *dotOutFileFinished; |
@@ -543,7 +543,7 @@ init_notify_peer2 (void *cls, struct GNUNET_CORE_Handle *server, | |||
543 | static void | 543 | static void |
544 | connect_notify_peers (void *cls, const struct GNUNET_PeerIdentity *peer, | 544 | connect_notify_peers (void *cls, const struct GNUNET_PeerIdentity *peer, |
545 | const struct GNUNET_ATS_Information *atsi, | 545 | const struct GNUNET_ATS_Information *atsi, |
546 | unsigned int atsi_count) | 546 | unsigned int atsi_count) |
547 | { | 547 | { |
548 | struct TestMessageContext *pos = cls; | 548 | struct TestMessageContext *pos = cls; |
549 | 549 | ||
@@ -604,8 +604,7 @@ init_notify_peer1 (void *cls, struct GNUNET_CORE_Handle *server, | |||
604 | */ | 604 | */ |
605 | pos->peer2handle = | 605 | pos->peer2handle = |
606 | GNUNET_CORE_connect (pos->peer2->cfg, 1, pos, &init_notify_peer2, NULL, | 606 | GNUNET_CORE_connect (pos->peer2->cfg, 1, pos, &init_notify_peer2, NULL, |
607 | NULL, NULL, GNUNET_YES, NULL, GNUNET_YES, | 607 | NULL, NULL, GNUNET_YES, NULL, GNUNET_YES, handlers); |
608 | handlers); | ||
609 | 608 | ||
610 | } | 609 | } |
611 | 610 | ||
@@ -643,8 +642,8 @@ send_test_messages (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
643 | */ | 642 | */ |
644 | pos->peer1handle = | 643 | pos->peer1handle = |
645 | GNUNET_CORE_connect (pos->peer1->cfg, 1, pos, &init_notify_peer1, | 644 | GNUNET_CORE_connect (pos->peer1->cfg, 1, pos, &init_notify_peer1, |
646 | &connect_notify_peers, NULL, NULL, GNUNET_NO, | 645 | &connect_notify_peers, NULL, NULL, GNUNET_NO, NULL, |
647 | NULL, GNUNET_NO, no_handlers); | 646 | GNUNET_NO, no_handlers); |
648 | 647 | ||
649 | GNUNET_assert (pos->peer1handle != NULL); | 648 | GNUNET_assert (pos->peer1handle != NULL); |
650 | 649 | ||