diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-21 16:03:30 +0000 |
commit | a89c7a30d499bac96890929d745fad063eb707b2 (patch) | |
tree | cb001facf8da3cfc9e9bfaa854fb99b9b51ec636 /src/core/test_core_api_reliability.c | |
parent | d70d18816c37c30e02977a2cc2bdb2368e95a4de (diff) | |
download | gnunet-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.c | 4 |
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 | ||
360 | static void | 360 | static void |
361 | init_notify (void *cls, struct GNUNET_CORE_Handle *server, | 361 | init_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); |