From c06e4535370363a952639c2e58465c1df607ff6d Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 4 Oct 2025 19:41:22 +0100 Subject: [PATCH] [Minor] Add html_features.h include to fuzzy_check.c Required for accessing rspamd_html_features->tags_count field when checking HTML fuzzy hash thresholds. --- src/plugins/fuzzy_check.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 9d83b7896d..0afdfba67a 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -37,6 +37,7 @@ #include "libmime/images.h" #include "libserver/worker_util.h" #include "libserver/mempool_vars_internal.h" +#include "libserver/html/html_features.h" #include "fuzzy_wire.h" #include "utlist.h" #include "ottery.h" @@ -99,7 +100,7 @@ struct fuzzy_rule { gboolean skip_unknown; gboolean no_share; gboolean no_subject; - gboolean html_shingles; /* Enable HTML fuzzy hashing */ + gboolean html_shingles; /* Enable HTML fuzzy hashing */ unsigned int min_html_tags; /* Minimum tags for HTML hash */ int learn_condition_cb; uint32_t retransmits; -- 2.47.3