diff options
Diffstat (limited to 'src/datastore/datastore_api.c')
-rw-r--r-- | src/datastore/datastore_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, | |||
1001 | struct DataMessage *dm; | 1001 | struct DataMessage *dm; |
1002 | union QueueContext qc; | 1002 | union QueueContext qc; |
1003 | 1003 | ||
1004 | if (size + sizeof (*dm) >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1004 | if (size + sizeof (*dm) >= GNUNET_MAX_MESSAGE_SIZE) |
1005 | { | 1005 | { |
1006 | GNUNET_break (0); | 1006 | GNUNET_break (0); |
1007 | return NULL; | 1007 | return NULL; |
@@ -1212,7 +1212,7 @@ GNUNET_DATASTORE_remove (struct GNUNET_DATASTORE_Handle *h, | |||
1212 | struct GNUNET_MQ_Envelope *env; | 1212 | struct GNUNET_MQ_Envelope *env; |
1213 | union QueueContext qc; | 1213 | union QueueContext qc; |
1214 | 1214 | ||
1215 | if (sizeof (*dm) + size >= GNUNET_SERVER_MAX_MESSAGE_SIZE) | 1215 | if (sizeof (*dm) + size >= GNUNET_MAX_MESSAGE_SIZE) |
1216 | { | 1216 | { |
1217 | GNUNET_break (0); | 1217 | GNUNET_break (0); |
1218 | return NULL; | 1218 | return NULL; |