aboutsummaryrefslogtreecommitdiffstats
path: root/src/images.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-08-25 20:15:29 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-08-25 20:15:29 +0400
commit59822ebf58a3bf9f0a3bb97150206013be3b43d7 (patch)
treed08236df32ec8742c3ca2b6097de0977aa893ace /src/images.c
parent671bbfa9cc85a625df33d6384a3179ce076765b9 (diff)
downloadrspamd-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.c1
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);
}
}