aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/mime_parser.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-04 11:46:56 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-04-04 12:06:18 +0100
commit5e59527bb11dfd2e5a9c439c6957cf6e9df57256 (patch)
tree781dfbe289c1c1a491bbb4fbb09d91b57b643728 /src/libmime/mime_parser.c
parent59354af039ce15c7160b43095acf5b380a59ecbe (diff)
downloadrspamd-5e59527bb11dfd2e5a9c439c6957cf6e9df57256.tar.gz
rspamd-5e59527bb11dfd2e5a9c439c6957cf6e9df57256.zip
[Minor] Explicitly set queue to NULL for top part
Diffstat (limited to 'src/libmime/mime_parser.c')
-rw-r--r--src/libmime/mime_parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/mime_parser.c b/src/libmime/mime_parser.c
index 9b245e35a..bcec5aa54 100644
--- a/src/libmime/mime_parser.c
+++ b/src/libmime/mime_parser.c
@@ -1074,6 +1074,7 @@ rspamd_mime_parse_message (struct rspamd_task *task,
pbegin = st->start + body_pos;
plen = st->end - pbegin;
npart->raw_headers = g_hash_table_ref (task->raw_headers);
+ npart->headers_order = NULL;
}
else {
str.str = (gchar *)part->parsed_data.begin;