commit 8917361: [Minor] Remove useless field

Vsevolod Stakhov vsevolod at rspamd.com
Fri Dec 2 22:49:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-12-02 21:11:03 +0000
URL: https://github.com/rspamd/rspamd/commit/8917361c54516391380064f1bca363fc05323071

[Minor] Remove useless field

---
 src/fuzzy_storage.c | 2 --
 1 file changed, 2 deletions(-)

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 {


More information about the Commits mailing list