From: Vsevolod Stakhov Date: Thu, 4 Dec 2025 14:55:30 +0000 (+0000) Subject: [Minor] Remove bogus `false` from log messages X-Git-Tag: 3.14.2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1b62822ab969de2be04fbded9c0ae3420a01951;p=thirdparty%2Frspamd.git [Minor] Remove bogus `false` from log messages --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 4714f26094..030d14a7b3 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -5747,8 +5747,7 @@ fuzzy_modify_handler(struct rspamd_http_connection_entry *conn_ent, /* Check for flag */ if (g_hash_table_lookup(rule->mappings, GINT_TO_POINTER(flag)) == NULL) { - msg_info_task("skip rule %s as it has no flag %d defined" - " false", + msg_info_task("skip rule %s as it has no flag %d defined", rule->name, flag); continue; } @@ -6087,8 +6086,7 @@ fuzzy_check_lua_process_learn(struct rspamd_task *task, /* Check for flag */ if (g_hash_table_lookup(rule->mappings, GINT_TO_POINTER(flag)) == NULL) { - msg_info_task("skip rule %s as it has no flag %d defined" - " false", + msg_info_task("skip rule %s as it has no flag %d defined", rule->name, flag); continue; } @@ -6389,8 +6387,7 @@ fuzzy_lua_gen_hashes_handler(lua_State *L) /* Check for flag */ if (g_hash_table_lookup(rule->mappings, GINT_TO_POINTER(flag)) == NULL) { - msg_info_task("skip rule %s as it has no flag %d defined" - " false", + msg_info_task("skip rule %s as it has no flag %d defined", rule->name, flag); continue; } @@ -6478,8 +6475,7 @@ fuzzy_lua_hex_hashes_handler(lua_State *L) /* Check for flag */ if (g_hash_table_lookup(rule->mappings, GINT_TO_POINTER(flag)) == NULL) { - msg_debug_fuzzy_check("skip rule %s as it has no flag %d defined" - " false", + msg_debug_fuzzy_check("skip rule %s as it has no flag %d defined", rule->name, flag); continue; }