summaryrefslogtreecommitdiffstats
path: root/src/plugins/spf.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-31 18:22:10 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-08-31 18:22:10 +0100
commite3395816d88a79a7fa22ae2e1b364f5cfa099777 (patch)
treefcd673eb788b4505122793de49c3bd90eb81007e /src/plugins/spf.c
parentebc3b5ba0b6eadfb966f1f44c2d78beea9b82dbb (diff)
downloadrspamd-e3395816d88a79a7fa22ae2e1b364f5cfa099777.tar.gz
rspamd-e3395816d88a79a7fa22ae2e1b364f5cfa099777.zip
Update other C module for the new logger.
Diffstat (limited to 'src/plugins/spf.c')
-rw-r--r--src/plugins/spf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c
index eb50ab2b9..70c298a7d 100644
--- a/src/plugins/spf.c
+++ b/src/plugins/spf.c
@@ -244,7 +244,7 @@ spf_check_element (struct spf_addr *addr, struct rspamd_task *task)
/* Compare the first bytes */
bmask = mask / CHAR_BIT;
if (bmask > addrlen) {
- msg_info ("bad mask length: %d", mask);
+ msg_info_task ("bad mask length: %d", mask);
}
else if (memcmp (s, d, bmask) == 0) {
@@ -362,7 +362,8 @@ spf_symbol_callback (struct rspamd_task *task, void *unused)
}
else {
if (!resolve_spf (task, spf_plugin_callback)) {
- msg_info ("cannot make spf request for [%s]", task->message_id);
+ msg_info_task ("cannot make spf request for [%s]",
+ task->message_id);
}
else {
rspamd_session_add_event (task->s, spf_plugin_fin, NULL,