diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-09 14:53:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-09 14:53:44 +0000 |
commit | 7ae3bcd234e062c28f66db9758f61af401d0a707 (patch) | |
tree | adb1da7611b0afd6ff0fa094a6f6bc7ebabd174e /src/testing/test_testing_topology.c | |
parent | 006eb1c4f3307fe89c786c2f1ac866611e33d3cd (diff) | |
download | gnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.tar.gz gnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.zip |
-simplifying core API (#2400)
Diffstat (limited to 'src/testing/test_testing_topology.c')
-rw-r--r-- | src/testing/test_testing_topology.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||