From d62518fb6fd1c5facddd6560daddadb14ff64205 Mon Sep 17 00:00:00 2001 From: Paul Mangan Date: Mon, 22 Sep 2003 07:32:07 +0000 Subject: [PATCH 1/1] clamav plugin: don't skip MULTIPART parts --- ChangeLog.claws | 5 +++++ configure.ac | 2 +- src/plugins/clamav/clamav_plugin.c | 4 ---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 8e04fd3c1..8967d1fee 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,8 @@ +2003-09-22 [paul] 0.9.5claws25 + + * src/plugins/clamav/clamav_plugin.c + don't skip MULTIPART parts + 2003-09-21 [christoph] 0.9.5claws24 * src/alertpanel.c diff --git a/configure.ac b/configure.ac index 3a9abf9d3..1fb06da1e 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=5 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=24 +EXTRA_VERSION=25 if test $EXTRA_VERSION -eq 0; then VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws else diff --git a/src/plugins/clamav/clamav_plugin.c b/src/plugins/clamav/clamav_plugin.c index 9676be2a3..3aeeaac8e 100644 --- a/src/plugins/clamav/clamav_plugin.c +++ b/src/plugins/clamav/clamav_plugin.c @@ -110,10 +110,6 @@ static gboolean mail_filtering_hook(gpointer source, gpointer data) scan_archive = TRUE; while (child != NULL) { - if (child->children || child->mime_type == MIME_MULTIPART) { - child = procmime_mimeinfo_next(child); - continue; - } if(child->parent && child->parent->parent && !strcasecmp(child->parent->parent->content_type, "multipart/signed") && child->mime_type == MIME_TEXT) { -- 2.25.1