commit eed672548058b7b71d6c222c479bb8571b383a87
parent 9cd405339a6f24f1e1e023abea63f57d7d3249ad
Author: TheJackiMonster <thejackimonster@gmail.com>
Date: Thu, 23 Nov 2023 22:47:57 +0100
Define compression level for regex service as constant
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gnunet_chat_group.c b/src/gnunet_chat_group.c
@@ -28,6 +28,7 @@
#include "gnunet_chat_group_intern.c"
static const unsigned int initial_map_size_of_context = 8;
+static const uint16_t group_regex_compression = 6;
struct GNUNET_CHAT_Group*
group_create_from_context (struct GNUNET_CHAT_Handle *handle,
@@ -87,7 +88,7 @@ group_publish (struct GNUNET_CHAT_Group* group)
group->announcement = GNUNET_REGEX_announce(
group->handle->cfg, topic,
GNUNET_TIME_relative_get_minute_(),
- 6
+ group_regex_compression
);
group->search = GNUNET_REGEX_search(