diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-02 14:19:55 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-06-02 15:39:37 +0100 |
commit | a645c70082c32d2a60454b8bce30152b4760636b (patch) | |
tree | 39e5bfe8a13469a354f87ad01f6e7a008b9ef29d /src/plugins | |
parent | 029721955b19dd15209814bbe029d9ae749f4ebb (diff) | |
download | rspamd-a645c70082c32d2a60454b8bce30152b4760636b.tar.gz rspamd-a645c70082c32d2a60454b8bce30152b4760636b.zip |
Rework task processing.
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/dkim_check.c | 2 | ||||
-rw-r--r-- | src/plugins/fuzzy_check.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 4ffbb9672..9787ac5a5 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -425,7 +425,7 @@ dkim_symbol_callback (struct rspamd_task *task, void *unused) struct dkim_check_result *res = NULL, *cur; /* First check if a message has its signature */ - hlist = message_get_header (task, + hlist = rspamd_message_get_header (task, DKIM_SIGNHEADER, FALSE); if (hlist != NULL) { diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 848d5d54b..c585df7a4 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -1227,7 +1227,7 @@ fuzzy_process_handler (struct rspamd_http_connection_entry *conn_ent, saved = rspamd_mempool_alloc0 (task->task_pool, sizeof (gint)); err = rspamd_mempool_alloc0 (task->task_pool, sizeof (GError *)); - r = process_message (task); + r = rspamd_message_parse (task); if (r == -1) { msg_warn ("<%s>: cannot process message for fuzzy", task->message_id); rspamd_task_free (task, FALSE); |