diff options
Diffstat (limited to 'src/libmime/message.c')
-rw-r--r-- | src/libmime/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmime/message.c b/src/libmime/message.c index e5f244a3e..a43e109b5 100644 --- a/src/libmime/message.c +++ b/src/libmime/message.c @@ -901,7 +901,7 @@ rspamd_message_from_data (struct rspamd_task *task, const guchar *start, part->raw_data.len = len; part->parsed_data.begin = start; part->parsed_data.len = len; - part->id = MESSAGE_FIELD (task, parts)->len; + part->part_number = MESSAGE_FIELD (task, parts)->len; part->raw_headers = rspamd_message_headers_new (); part->headers_order = NULL; |