diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-18 15:22:09 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-18 15:22:09 -0700 |
commit | 12a910a0933681620bd07809ec8045ae63ae6c0b (patch) | |
tree | f85f1a36a5517780851c5b44ae776fde36b13ef6 /src/libmime | |
parent | 850bd22ef47c1b0fca3894ece46ae6384200d7d9 (diff) | |
download | rspamd-12a910a0933681620bd07809ec8045ae63ae6c0b.tar.gz rspamd-12a910a0933681620bd07809ec8045ae63ae6c0b.zip |
Viva clang-3.4
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/message.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index 9f3df14e2..7ee31a26d 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -1237,7 +1237,8 @@ process_message (struct rspamd_task *task) else { /* We got only message, no mime headers or anything like this */ /* Construct fake message for it */ - task->message = g_mime_message_new (TRUE); + message = g_mime_message_new (TRUE); + task->message = message; if (task->from_envelope) { g_mime_message_set_sender (task->message, rspamd_task_get_sender (task)); |