diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-09 14:53:44 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-09 14:53:44 +0000 |
commit | 29b0ccdefe35bd9d5ea8856328ef288030a65594 (patch) | |
tree | adb1da7611b0afd6ff0fa094a6f6bc7ebabd174e /src/testing/testing.c | |
parent | 3acc63504fe636a6e61b1b2ab36548ac5bf90d04 (diff) |
-simplifying core API (#2400)
git-svn-id: https://gnunet.org/svn/gnunet@21816 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/testing/testing.c')
-rw-r--r-- | src/testing/testing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index 31bea068cf..a80ad25cf6 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); } |