summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-12 15:20:50 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-01-12 15:20:50 +0000
commit67b932ad9786743dc032ff2adc3788c5aadd3933 (patch)
tree084872b519dc54beef83cbdade01af8bb639eafd /src/message.c
parentd6b454eda97f6ffe8455ec83ab8da6293e7b9c07 (diff)
downloadrspamd-67b932ad9786743dc032ff2adc3788c5aadd3933.tar.gz
rspamd-67b932ad9786743dc032ff2adc3788c5aadd3933.zip
Start moving to HTTP world.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 907893d91..6ad9610e4 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1048,7 +1048,7 @@ process_message (struct worker_task *task)
gint rc;
tmp = memory_pool_alloc (task->task_pool, sizeof (GByteArray));
- tmp->data = task->msg->begin;
+ tmp->data = task->msg->str;
tmp->len = task->msg->len;
stream = g_mime_stream_mem_new_with_byte_array (tmp);