summaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
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);