From 17d34d5e094c2f8a90717b07e3a711d6e2c15903 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 17 Mar 2017 18:13:55 +0100 Subject: more renamings relating to 'new' service now just being the 'normal' service --- src/core/core_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/core_api.c') diff --git a/src/core/core_api.c b/src/core/core_api.c index fd789295d..ed8ce364d 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -321,7 +321,7 @@ core_mq_send_impl (struct GNUNET_MQ_Handle *mq, /* check message size for sanity */ msize = ntohs (msg->size); - if (msize >= GNUNET_SERVER_MAX_MESSAGE_SIZE - sizeof (struct SendMessage)) + if (msize >= GNUNET_MAX_MESSAGE_SIZE - sizeof (struct SendMessage)) { GNUNET_break (0); GNUNET_MQ_impl_send_continue (mq); @@ -796,7 +796,7 @@ GNUNET_CORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, h->handlers = GNUNET_MQ_copy_handlers (handlers); h->hcnt = GNUNET_MQ_count_handlers (handlers); GNUNET_assert (h->hcnt < - (GNUNET_SERVER_MAX_MESSAGE_SIZE - + (GNUNET_MAX_MESSAGE_SIZE - sizeof (struct InitMessage)) / sizeof (uint16_t)); LOG (GNUNET_ERROR_TYPE_DEBUG, "Connecting to CORE service\n"); -- cgit v1.2.3