diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-13 11:22:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-13 11:23:12 +0100 |
commit | ebe5dfa9bbd8f2a6241fefe3daa99eb654da6336 (patch) | |
tree | dc0b24a6039341272671fc5ee53ca00f88cba802 /src/libmime/images.c | |
parent | a7b2ee81dfc78d0f9b17e93a3ed9ce9fbe220eba (diff) | |
download | rspamd-ebe5dfa9bbd8f2a6241fefe3daa99eb654da6336.tar.gz rspamd-ebe5dfa9bbd8f2a6241fefe3daa99eb654da6336.zip |
[Feature] Pre-calculate blake2 digest for all parts
Diffstat (limited to 'src/libmime/images.c')
-rw-r--r-- | src/libmime/images.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/images.c b/src/libmime/images.c index 5a556ce9c..f2c27f865 100644 --- a/src/libmime/images.c +++ b/src/libmime/images.c @@ -226,6 +226,7 @@ process_image (struct rspamd_task *task, struct rspamd_mime_part *part) img->width, img->height, task->message_id); img->filename = part->filename; + img->parent = part; part->flags |= RSPAMD_MIME_PART_IMAGE; part->specific_data = img; |