diff options
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/message.c b/src/message.c index 2491ddfc0..ac3dcb88f 100644 --- a/src/message.c +++ b/src/message.c @@ -710,14 +710,6 @@ mime_foreach_callback (GMimeObject * part, gpointer user_data) mime_part->content = part_content; mime_part->parent = task->parser_parent_part; mime_part->filename = g_mime_part_get_filename (GMIME_PART (part)); - /* Extract checksums for some types */ - if (g_mime_content_type_is_type (type, "image", "*") && part_content->len > 0) { - mime_part->checksum = g_compute_checksum_for_data (G_CHECKSUM_MD5, part_content->data, part_content->len); - memory_pool_add_destructor (task->task_pool, (pool_destruct_func)g_free, mime_part->checksum); - } - else { - mime_part->checksum = NULL; - } debug_task ("found part with content-type: %s/%s", type->type, type->subtype); task->parts = g_list_prepend (task->parts, mime_part); /* Skip empty parts */ |