From: Vsevolod Stakhov Date: Sat, 4 Oct 2025 18:41:22 +0000 (+0100) Subject: [Minor] Add html_features.h include to fuzzy_check.c X-Git-Tag: 3.14.0~87^2~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c06e4535370363a952639c2e58465c1df607ff6d;p=thirdparty%2Frspamd.git [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. --- 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;