aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-26 17:26:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-26 19:48:30 +0100
commitfd85423e94db56d3903ad09170cd6e8dae975120 (patch)
tree547ebf8f90686e1965695829a590b047e3523f86 /src/libmime/message.c
parent661f634db96c2c049439b5bd7afae5af232c6ae7 (diff)
downloadrspamd-fd85423e94db56d3903ad09170cd6e8dae975120.tar.gz
rspamd-fd85423e94db56d3903ad09170cd6e8dae975120.zip
[Feature] Add initial support of the new protocol reply
Diffstat (limited to 'src/libmime/message.c')
-rw-r--r--src/libmime/message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c
index 15483f089..c1e3ff580 100644
--- a/src/libmime/message.c
+++ b/src/libmime/message.c
@@ -551,6 +551,7 @@ rspamd_message_process_text_part (struct rspamd_task *task,
mres->action = METRIC_ACTION_REJECT;
}
+ task->result = mres;
task->pre_result.action = METRIC_ACTION_REJECT;
task->pre_result.str = "Gtube pattern";
ucl_object_insert_key (task->messages,