aboutsummaryrefslogtreecommitdiffstats
path: root/src/smtp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-02 14:19:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-06-02 15:39:37 +0100
commita645c70082c32d2a60454b8bce30152b4760636b (patch)
tree39e5bfe8a13469a354f87ad01f6e7a008b9ef29d /src/smtp.c
parent029721955b19dd15209814bbe029d9ae749f4ebb (diff)
downloadrspamd-a645c70082c32d2a60454b8bce30152b4760636b.tar.gz
rspamd-a645c70082c32d2a60454b8bce30152b4760636b.zip
Rework task processing.
Diffstat (limited to 'src/smtp.c')
-rw-r--r--src/smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smtp.c b/src/smtp.c
index 74e2323a2..51d5753aa 100644
--- a/src/smtp.c
+++ b/src/smtp.c
@@ -305,7 +305,7 @@ process_smtp_data (struct smtp_session *session)
sizeof (struct in_addr));
session->task->cmd = CMD_CHECK;
- if (process_message (session->task) == -1) {
+ if (rspamd_message_parse (session->task) == -1) {
msg_err ("cannot process message");
munmap (session->task->msg->str, st.st_size);
goto err;