diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2023-11-23 22:47:57 +0100 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2023-11-23 22:47:57 +0100 |
commit | eed672548058b7b71d6c222c479bb8571b383a87 (patch) | |
tree | 5a26969d0bc94369414f02eade562849dd82cf0d | |
parent | 9cd405339a6f24f1e1e023abea63f57d7d3249ad (diff) | |
download | libgnunetchat-eed672548058b7b71d6c222c479bb8571b383a87.tar.gz libgnunetchat-eed672548058b7b71d6c222c479bb8571b383a87.zip |
Define compression level for regex service as constant
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | src/gnunet_chat_group.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gnunet_chat_group.c b/src/gnunet_chat_group.c index fbf1bc9..f3c6f46 100644 --- a/src/gnunet_chat_group.c +++ b/src/gnunet_chat_group.c | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "gnunet_chat_group_intern.c" | 28 | #include "gnunet_chat_group_intern.c" |
29 | 29 | ||
30 | static const unsigned int initial_map_size_of_context = 8; | 30 | static const unsigned int initial_map_size_of_context = 8; |
31 | static const uint16_t group_regex_compression = 6; | ||
31 | 32 | ||
32 | struct GNUNET_CHAT_Group* | 33 | struct GNUNET_CHAT_Group* |
33 | group_create_from_context (struct GNUNET_CHAT_Handle *handle, | 34 | group_create_from_context (struct GNUNET_CHAT_Handle *handle, |
@@ -87,7 +88,7 @@ group_publish (struct GNUNET_CHAT_Group* group) | |||
87 | group->announcement = GNUNET_REGEX_announce( | 88 | group->announcement = GNUNET_REGEX_announce( |
88 | group->handle->cfg, topic, | 89 | group->handle->cfg, topic, |
89 | GNUNET_TIME_relative_get_minute_(), | 90 | GNUNET_TIME_relative_get_minute_(), |
90 | 6 | 91 | group_regex_compression |
91 | ); | 92 | ); |
92 | 93 | ||
93 | group->search = GNUNET_REGEX_search( | 94 | group->search = GNUNET_REGEX_search( |