diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-31 11:54:00 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-31 11:54:00 +0100 |
commit | e1e520569a44a8ebbdc30f2165497183903e5fa3 (patch) | |
tree | f3ca4e9dcfb483cbdf9a5e87a71bfd3f5d388038 /src/plugins/fuzzy_check.c | |
parent | 226172a163462231afcd50d599f49c9b92ff77e4 (diff) | |
download | rspamd-e1e520569a44a8ebbdc30f2165497183903e5fa3.tar.gz rspamd-e1e520569a44a8ebbdc30f2165497183903e5fa3.zip |
[Fix] Fix format string
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r-- | src/plugins/fuzzy_check.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index a619791f6..9952c26d9 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -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); } |