diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-25 20:15:29 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-08-25 20:15:29 +0400 |
commit | 59822ebf58a3bf9f0a3bb97150206013be3b43d7 (patch) | |
tree | d08236df32ec8742c3ca2b6097de0977aa893ace /src/images.c | |
parent | 671bbfa9cc85a625df33d6384a3179ce076765b9 (diff) | |
download | rspamd-59822ebf58a3bf9f0a3bb97150206013be3b43d7.tar.gz rspamd-59822ebf58a3bf9f0a3bb97150206013be3b43d7.zip |
* Add ability to extract filename and size of images from lua
Diffstat (limited to 'src/images.c')
-rw-r--r-- | src/images.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/images.c b/src/images.c index 00c9599c0..d071c38e7 100644 --- a/src/images.c +++ b/src/images.c @@ -226,6 +226,7 @@ process_image (struct worker_task *task, struct mime_part *part) image_type_str (img->type), img->width, img->height, task->message_id); + img->filename = part->filename; task->images = g_list_prepend (task->images, img); } } |