summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-02 10:30:16 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-06-02 10:30:16 +0100
commit906d53b4325a57699d2dc5c21c88a89d1bdf1520 (patch)
tree2b09d9c2b614a91de5e50d22356f412a5826b5ee
parent589e5b9aaed61040fbadfc807014911d8fc2af37 (diff)
downloadrspamd-906d53b4325a57699d2dc5c21c88a89d1bdf1520.tar.gz
rspamd-906d53b4325a57699d2dc5c21c88a89d1bdf1520.zip
[Minor] Fix log message
-rw-r--r--src/plugins/fuzzy_check.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 453923633..f5471eee4 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -2319,11 +2319,12 @@ fuzzy_generate_commands (struct rspamd_task *task, struct fuzzy_rule *rule,
/* Check length of part */
fac = fuzzy_module_ctx->text_multiplier * part->content->len;
if ((double)fuzzy_module_ctx->min_bytes > fac) {
- msg_info_task ("<%s>, part is shorter than %d bytes (%.0f * %.2f bytes), "
+ msg_info_task ("<%s>, part is shorter than %d bytes: %.0f "
+ "(%d * %.2f bytes), "
"skip fuzzy check",
task->message_id, fuzzy_module_ctx->min_bytes, fac,
- fuzzy_module_ctx->text_multiplier,
- part->content->len);
+ part->content->len,
+ fuzzy_module_ctx->text_multiplier);
continue;
}