From 7ae3bcd234e062c28f66db9758f61af401d0a707 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 9 Jun 2012 14:53:44 +0000 Subject: -simplifying core API (#2400) --- src/testing/testing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/testing/testing.c') 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, GNUNET_assert (ctx->d1core == NULL); ctx->d1core_ready = GNUNET_NO; ctx->d1core = - GNUNET_CORE_connect (ctx->d1->cfg, 1, ctx, &core_init_notify, + GNUNET_CORE_connect (ctx->d1->cfg, ctx, &core_init_notify, &connect_notify, NULL, NULL, GNUNET_NO, NULL, GNUNET_NO, no_handlers); if (ctx->d1core == NULL) @@ -2055,7 +2055,7 @@ core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer, GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Peers are NOT connected, connecting to core!\n"); ctx->d1core = - GNUNET_CORE_connect (ctx->d1->cfg, 1, ctx, &core_init_notify, + GNUNET_CORE_connect (ctx->d1->cfg, ctx, &core_init_notify, &connect_notify, NULL, NULL, GNUNET_NO, NULL, GNUNET_NO, no_handlers); } -- cgit v1.2.3