]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix format string
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 31 Aug 2016 10:54:00 +0000 (11:54 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 31 Aug 2016 10:54:00 +0000 (11:54 +0100)
src/plugins/fuzzy_check.c

index a619791f642b0f52fb390b9d1089d95ee3cb6db7..9952c26d95d3c463e4152fbe99bc297003f5fa19 100644 (file)
@@ -578,9 +578,11 @@ fuzzy_parse_rule (struct rspamd_config *cfg, const ucl_object_t *obj,
                                        cb_id);
                }
 
-               msg_info_config ("added fuzzy rule %s, key: %6xs, "
-                               "shingles_key: %6xs, algorithm: %s",
-                               rule->symbol, rule->hash_key->str, rule->shingles_key->str,
+               msg_info_config ("added fuzzy rule %s, key: %*xs, "
+                               "shingles_key: %*xs, algorithm: %s",
+                               rule->symbol,
+                               6, rule->hash_key->str,
+                               6, rule->shingles_key->str,
                                rule->algorithm_str);
        }