]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix log message
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Jun 2017 09:30:16 +0000 (10:30 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 2 Jun 2017 09:30:16 +0000 (10:30 +0100)
src/plugins/fuzzy_check.c

index 453923633215196dcb2396b1b63d33d38c740e77..f5471eee4a8a590f0c7b87f475fb6233500feef7 100644 (file)
@@ -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;
                        }