aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-21 16:03:30 +0000
commita89c7a30d499bac96890929d745fad063eb707b2 (patch)
treecb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/core/test_core_api.c
parentd70d18816c37c30e02977a2cc2bdb2368e95a4de (diff)
downloadgnunet-a89c7a30d499bac96890929d745fad063eb707b2.tar.gz
gnunet-a89c7a30d499bac96890929d745fad063eb707b2.zip
removing deprecated argument in 'init' callback of GNUNET_CORE_connect
Diffstat (limited to 'src/core/test_core_api.c')
-rw-r--r--src/core/test_core_api.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/test_core_api.c b/src/core/test_core_api.c
index 184a64092..348bd8975 100644
--- a/src/core/test_core_api.c
+++ b/src/core/test_core_api.c
@@ -264,16 +264,14 @@ connect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
264 264
265 265
266static void 266static void
267init_notify (void *cls, struct GNUNET_CORE_Handle *server, 267init_notify (void *cls,
268 const struct GNUNET_PeerIdentity *my_identity) 268 const struct GNUNET_PeerIdentity *my_identity)
269{ 269{
270 struct PeerContext *p = cls; 270 struct PeerContext *p = cls;
271 271
272 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Core connection to `%4s' established\n", 272 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Core connection to `%4s' established\n",
273 GNUNET_i2s (my_identity)); 273 GNUNET_i2s (my_identity));
274 GNUNET_assert (server != NULL);
275 p->id = *my_identity; 274 p->id = *my_identity;
276 p->ch = server;
277 if (cls == &p1) 275 if (cls == &p1)
278 { 276 {
279 GNUNET_assert (ok == 2); 277 GNUNET_assert (ok == 2);