From: Vsevolod Stakhov Date: Wed, 31 Aug 2016 10:54:00 +0000 (+0100) Subject: [Fix] Fix format string X-Git-Tag: 1.4.0~513 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1e520569a44a8ebbdc30f2165497183903e5fa3;p=thirdparty%2Frspamd.git [Fix] Fix format string --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index a619791f64..9952c26d95 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); }