From: Vsevolod Stakhov Date: Fri, 2 Dec 2022 21:11:03 +0000 (+0000) Subject: [Minor] Remove useless field X-Git-Tag: 3.5~174 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8917361c54516391380064f1bca363fc05323071;p=rspamd.git [Minor] Remove useless field --- diff --git a/src/fuzzy_storage.c b/src/fuzzy_storage.c index bdbc2b08d..9311193b5 100644 --- a/src/fuzzy_storage.c +++ b/src/fuzzy_storage.c @@ -45,7 +45,6 @@ #define DEFAULT_KEYPAIR_CACHE_SIZE 512 #define DEFAULT_MASTER_TIMEOUT 10.0 #define DEFAULT_UPDATES_MAXFAIL 3 -#define COOKIE_SIZE 128 #define DEFAULT_MAX_BUCKETS 2000 #define DEFAULT_BUCKET_TTL 3600 #define DEFAULT_BUCKET_MASK 24 @@ -191,7 +190,6 @@ struct rspamd_fuzzy_storage_ctx { struct rspamd_hash_map_helper *skip_hashes; gint lua_pre_handler_cbref; gint lua_post_handler_cbref; - guchar cookie[COOKIE_SIZE]; }; enum fuzzy_cmd_type {