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/datastore/datastore_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/datastore/datastore_api.c') diff --git a/src/datastore/datastore_api.c b/src/datastore/datastore_api.c index ef7cd7532..c677654aa 100644 --- a/src/datastore/datastore_api.c +++ b/src/datastore/datastore_api.c @@ -1001,7 +1001,7 @@ GNUNET_DATASTORE_put (struct GNUNET_DATASTORE_Handle *h, struct DataMessage *dm; union QueueContext qc; - if (size + sizeof (*dm) >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (size + sizeof (*dm) >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return NULL; @@ -1212,7 +1212,7 @@ GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h, struct GNUNET_MQ_Envelope *env; union QueueContext qc; - if (sizeof (*dm) + size >= GNUNET_SERVER_MAX_MESSAGE_SIZE) + if (sizeof (*dm) + size >= GNUNET_MAX_MESSAGE_SIZE) { GNUNET_break (0); return NULL; -- cgit v1.2.3