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_quota_compliance.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_quota_compliance.c')
-rw-r--r-- | src/core/test_core_quota_compliance.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 9eb4d841f..0078a2daf 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c | |||
@@ -500,7 +500,7 @@ static struct GNUNET_CORE_MessageHandler handlers[] = { | |||
500 | 500 | ||
501 | 501 | ||
502 | static void | 502 | static void |
503 | init_notify (void *cls, struct GNUNET_CORE_Handle *server, | 503 | init_notify (void *cls, |
504 | const struct GNUNET_PeerIdentity *my_identity) | 504 | const struct GNUNET_PeerIdentity *my_identity) |
505 | { | 505 | { |
506 | struct PeerContext *p = cls; | 506 | struct PeerContext *p = cls; |
@@ -508,9 +508,8 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server, | |||
508 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 508 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
509 | "Connection to CORE service of `%4s' established\n", | 509 | "Connection to CORE service of `%4s' established\n", |
510 | GNUNET_i2s (my_identity)); | 510 | GNUNET_i2s (my_identity)); |
511 | GNUNET_assert (server != NULL); | 511 | GNUNET_assert (NULL != my_identity); |
512 | p->id = *my_identity; | 512 | p->id = *my_identity; |
513 | GNUNET_assert (p->ch == server); | ||
514 | if (cls == &p1) | 513 | if (cls == &p1) |
515 | { | 514 | { |
516 | GNUNET_assert (ok == 2); | 515 | GNUNET_assert (ok == 2); |