aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.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/testing/testing.c
parent006eb1c4f3307fe89c786c2f1ac866611e33d3cd (diff)
downloadgnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.tar.gz
gnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.zip
-simplifying core API (#2400)
Diffstat (limited to 'src/testing/testing.c')
-rw-r--r--src/testing/testing.c4
1 files changed, 2 insertions, 2 deletions
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,
1911 GNUNET_assert (ctx->d1core == NULL); 1911 GNUNET_assert (ctx->d1core == NULL);
1912 ctx->d1core_ready = GNUNET_NO; 1912 ctx->d1core_ready = GNUNET_NO;
1913 ctx->d1core = 1913 ctx->d1core =
1914 GNUNET_CORE_connect (ctx->d1->cfg, 1, ctx, &core_init_notify, 1914 GNUNET_CORE_connect (ctx->d1->cfg, ctx, &core_init_notify,
1915 &connect_notify, NULL, NULL, GNUNET_NO, NULL, 1915 &connect_notify, NULL, NULL, GNUNET_NO, NULL,
1916 GNUNET_NO, no_handlers); 1916 GNUNET_NO, no_handlers);
1917 if (ctx->d1core == NULL) 1917 if (ctx->d1core == NULL)
@@ -2055,7 +2055,7 @@ core_initial_iteration (void *cls, const struct GNUNET_PeerIdentity *peer,
2055 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 2055 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
2056 "Peers are NOT connected, connecting to core!\n"); 2056 "Peers are NOT connected, connecting to core!\n");
2057 ctx->d1core = 2057 ctx->d1core =
2058 GNUNET_CORE_connect (ctx->d1->cfg, 1, ctx, &core_init_notify, 2058 GNUNET_CORE_connect (ctx->d1->cfg, ctx, &core_init_notify,
2059 &connect_notify, NULL, NULL, GNUNET_NO, NULL, 2059 &connect_notify, NULL, NULL, GNUNET_NO, NULL,
2060 GNUNET_NO, no_handlers); 2060 GNUNET_NO, no_handlers);
2061 } 2061 }