fix typo
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@816 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
53a5fd60d9
commit
70f0030539
@ -120,7 +120,7 @@ sub hook_data_post {
|
|||||||
# Ignore non-multipart emails
|
# Ignore non-multipart emails
|
||||||
my $content_type = $transaction->header->get('Content-Type');
|
my $content_type = $transaction->header->get('Content-Type');
|
||||||
$content_type =~ s/\s/ /g if defined $content_type;
|
$content_type =~ s/\s/ /g if defined $content_type;
|
||||||
unless ( $self->{"_clamd"}-{"scan_all"}
|
unless ( $self->{"_clamd"}->{"scan_all"}
|
||||||
|| $content_type
|
|| $content_type
|
||||||
&& $content_type =~ m!\bmultipart/.*\bboundary="?([^"]+)!i )
|
&& $content_type =~ m!\bmultipart/.*\bboundary="?([^"]+)!i )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user