aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_api_reliability.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_reliability.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_reliability.c')
-rw-r--r--src/core/test_core_api_reliability.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/test_core_api_reliability.c b/src/core/test_core_api_reliability.c
index 29f39585e..e0db5eaed 100644
--- a/src/core/test_core_api_reliability.c
+++ b/src/core/test_core_api_reliability.c
@@ -358,7 +358,7 @@ static struct GNUNET_CORE_MessageHandler handlers[] = {
358 358
359 359
360static void 360static void
361init_notify (void *cls, struct GNUNET_CORE_Handle *server, 361init_notify (void *cls,
362 const struct GNUNET_PeerIdentity *my_identity) 362 const struct GNUNET_PeerIdentity *my_identity)
363{ 363{
364 struct PeerContext *p = cls; 364 struct PeerContext *p = cls;
@@ -366,9 +366,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server,
366 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 366 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
367 "Connection to CORE service of `%4s' established\n", 367 "Connection to CORE service of `%4s' established\n",
368 GNUNET_i2s (my_identity)); 368 GNUNET_i2s (my_identity));
369 GNUNET_assert (server != NULL);
370 p->id = *my_identity; 369 p->id = *my_identity;
371 p->ch = server;
372 if (cls == &p1) 370 if (cls == &p1)
373 { 371 {
374 GNUNET_assert (ok == 2); 372 GNUNET_assert (ok == 2);