aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index 37d166983..d1591328f 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -299,7 +299,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server,
299 OKPP; 299 OKPP;
300 /* connect p2 */ 300 /* connect p2 */
301 p2.ch = 301 p2.ch =
302 GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, 302 GNUNET_CORE_connect (p2.cfg, &p2, &init_notify, &connect_notify,
303 &disconnect_notify, &inbound_notify, GNUNET_YES, 303 &disconnect_notify, &inbound_notify, GNUNET_YES,
304 &outbound_notify, GNUNET_YES, handlers); 304 &outbound_notify, GNUNET_YES, handlers);
305 } 305 }
@@ -346,7 +346,7 @@ run (void *cls, char *const *args, const char *cfgfile,
346 (GNUNET_TIME_UNIT_SECONDS, 300), 346 (GNUNET_TIME_UNIT_SECONDS, 300),
347 &terminate_task_error, NULL); 347 &terminate_task_error, NULL);
348 p1.ch = 348 p1.ch =
349 GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, 349 GNUNET_CORE_connect (p1.cfg, &p1, &init_notify, &connect_notify,
350 &disconnect_notify, &inbound_notify, GNUNET_YES, 350 &disconnect_notify, &inbound_notify, GNUNET_YES,
351 &outbound_notify, GNUNET_YES, handlers); 351 &outbound_notify, GNUNET_YES, handlers);
352} 352}