aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-09 14:53:44 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-09 14:53:44 +0000
commit7ae3bcd234e062c28f66db9758f61af401d0a707 (patch)
treeadb1da7611b0afd6ff0fa094a6f6bc7ebabd174e /src/core/test_core_api_reliability.c
parent006eb1c4f3307fe89c786c2f1ac866611e33d3cd (diff)
downloadgnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.tar.gz
gnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.zip
-simplifying core API (#2400)
Diffstat (limited to 'src/core/test_core_api_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index e18d8c4fd..682424f89 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -384,7 +384,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server,
384 GNUNET_assert (ok == 2); 384 GNUNET_assert (ok == 2);
385 OKPP; 385 OKPP;
386 /* connect p2 */ 386 /* connect p2 */
387 GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, 387 GNUNET_CORE_connect (p2.cfg, &p2, &init_notify, &connect_notify,
388 &disconnect_notify, &inbound_notify, GNUNET_YES, 388 &disconnect_notify, &inbound_notify, GNUNET_YES,
389 &outbound_notify, GNUNET_YES, handlers); 389 &outbound_notify, GNUNET_YES, handlers);
390 } 390 }
@@ -450,7 +450,7 @@ run (void *cls, char *const *args, const char *cfgfile,
450 setup_peer (&p2, "test_core_api_peer2.conf"); 450 setup_peer (&p2, "test_core_api_peer2.conf");
451 err_task = 451 err_task =
452 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &terminate_task_error, NULL); 452 GNUNET_SCHEDULER_add_delayed (TIMEOUT, &terminate_task_error, NULL);
453 GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, 453 GNUNET_CORE_connect (p1.cfg, &p1, &init_notify, &connect_notify,
454 &disconnect_notify, &inbound_notify, GNUNET_YES, 454 &disconnect_notify, &inbound_notify, GNUNET_YES,
455 &outbound_notify, GNUNET_YES, handlers); 455 &outbound_notify, GNUNET_YES, handlers);
456} 456}