diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 15:19:04 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-30 15:19:04 +0000 |
commit | 39c853952b97d56726839e6e5681cd7e1849c364 (patch) | |
tree | 500ec6cf01f380fb22308159c290e0901310d892 /src/plugins/fuzzy_check.c | |
parent | ef18538d25cc8e39fd0eb71424cecef516412d90 (diff) | |
download | rspamd-39c853952b97d56726839e6e5681cd7e1849c364.tar.gz rspamd-39c853952b97d56726839e6e5681cd7e1849c364.zip |
Rework message store to allow encryption.
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r-- | src/plugins/fuzzy_check.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 573ab0868..2dd05a109 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -1260,7 +1260,9 @@ fuzzy_process_handler (struct rspamd_http_connection_entry *conn_ent, task->cfg = ctx->cfg; /* Allocate message from string */ - task->msg = msg->body; + /* XXX: what about encrypted messsages ? */ + task->msg.start = msg->body->str; + task->msg.len = msg->body->len; saved = rspamd_mempool_alloc0 (task->task_pool, sizeof (gint)); err = rspamd_mempool_alloc0 (task->task_pool, sizeof (GError *)); |