diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-22 17:39:46 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-22 17:39:46 +0000 |
commit | a93fbccaea8bcec71180add91cf9957dda2a1954 (patch) | |
tree | 7cbff1e474bf41d03def8536340d1610bad97bf2 /src/plugins | |
parent | 89956e513656feed88e7bbb05348dcea3fc1d615 (diff) | |
download | rspamd-a93fbccaea8bcec71180add91cf9957dda2a1954.tar.gz rspamd-a93fbccaea8bcec71180add91cf9957dda2a1954.zip |
[Fix] Fix various warnings and issues
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/dkim_check.c | 2 | ||||
-rw-r--r-- | src/plugins/fuzzy_check.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 3eb44c386..71214b2bc 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -912,7 +912,7 @@ dkim_sign_callback (struct rspamd_task *task, void *unused) if (ctx == NULL) { msg_err_task ("cannot create sign context: %e", - key, err); + err); g_error_free (err); return; diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 9286bda89..3b0121f15 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -455,7 +455,8 @@ fuzzy_parse_rule (struct rspamd_config *cfg, const ucl_object_t *obj, rule->alg = RSPAMD_SHINGLES_FAST; } else { - msg_warn_config ("unknown algorithm: %s, use siphash by default"); + msg_warn_config ("unknown algorithm: %s, use siphash by default", + rule->algorithm_str); } } } |