aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_quota_compliance.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r--src/core/test_core_quota_compliance.c5
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
502static void 502static void
503init_notify (void *cls, struct GNUNET_CORE_Handle *server, 503init_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);