aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-26 18:51:39 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-10-26 18:51:39 +0000
commitd0fd4b42cbb067bcacf35b580721889aced9571a (patch)
tree164bed327efc1ce4ef1ce1c754ba824494f5cb6e /src
parent9aef38327f8ea69cac68681285666d0c0f052612 (diff)
downloadrspamd-d0fd4b42cbb067bcacf35b580721889aced9571a.tar.gz
rspamd-d0fd4b42cbb067bcacf35b580721889aced9571a.zip
Fix encrypted fuzzy add processing.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fuzzy_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index 2db7e8da7..05a43af93 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -1475,8 +1475,8 @@ fuzzy_process_handler (struct rspamd_http_connection_entry *conn_ent,
/* Allocate message from string */
/* XXX: what about encrypted messsages ? */
- task->msg.begin = msg->body->str;
- task->msg.len = msg->body->len;
+ task->msg.begin = msg->body_buf.begin;
+ task->msg.len = msg->body_buf.len;
saved = rspamd_mempool_alloc0 (task->task_pool, sizeof (gint));
err = rspamd_mempool_alloc0 (task->task_pool, sizeof (GError *));