fix "Use of uninitialized value in pattern match" warning (Gavin Carr
and Jim Murray) git-svn-id: https://svn.perl.org/qpsmtpd/trunk@846 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
214e7e0ec0
commit
4d27319233
@ -206,7 +206,7 @@ sub denysoft_greylist {
|
|||||||
return DECLINED if $self->qp->connection->notes('whitelisthost');
|
return DECLINED if $self->qp->connection->notes('whitelisthost');
|
||||||
return DECLINED if $transaction->notes('whitelistsender');
|
return DECLINED if $transaction->notes('whitelistsender');
|
||||||
|
|
||||||
if ($config->{db_dir} =~ m{^([-a-zA-Z0-9./_]+)$}) {
|
if ($config->{db_dir} && $config->{db_dir} =~ m{^([-a-zA-Z0-9./_]+)$}) {
|
||||||
$config->{db_dir} = $1;
|
$config->{db_dir} = $1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user