aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/regexp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-30 15:19:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-30 15:19:04 +0000
commit39c853952b97d56726839e6e5681cd7e1849c364 (patch)
tree500ec6cf01f380fb22308159c290e0901310d892 /src/plugins/regexp.c
parentef18538d25cc8e39fd0eb71424cecef516412d90 (diff)
downloadrspamd-39c853952b97d56726839e6e5681cd7e1849c364.tar.gz
rspamd-39c853952b97d56726839e6e5681cd7e1849c364.zip
Rework message store to allow encryption.
Diffstat (limited to 'src/plugins/regexp.c')
-rw-r--r--src/plugins/regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c
index 39b8af1ec..74ab46ab5 100644
--- a/src/plugins/regexp.c
+++ b/src/plugins/regexp.c
@@ -666,8 +666,8 @@ process_regexp (struct rspamd_regexp *re,
case REGEXP_MESSAGE:
debug_task ("checking message regexp: %s", re->regexp_text);
regexp = re->raw_regexp;
- ct = task->msg->str;
- clen = task->msg->len;
+ ct = (guint8 *)task->msg.start;
+ clen = task->msg.len;
if (regexp_module_ctx->max_size != 0 && clen >
regexp_module_ctx->max_size) {