Always initialize variables if setting them is conditional.
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@746 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
8b5488dd77
commit
542db781a2
@ -659,8 +659,8 @@ sub data_respond {
|
|||||||
|
|
||||||
my $smtp = $self->connection->hello eq "ehlo" ? "ESMTP" : "SMTP";
|
my $smtp = $self->connection->hello eq "ehlo" ? "ESMTP" : "SMTP";
|
||||||
my $esmtp = substr($smtp,0,1) eq "E";
|
my $esmtp = substr($smtp,0,1) eq "E";
|
||||||
my $authheader;
|
my $authheader = '';
|
||||||
my $sslheader;
|
my $sslheader = '';
|
||||||
|
|
||||||
if (defined $self->connection->notes('tls_enabled')
|
if (defined $self->connection->notes('tls_enabled')
|
||||||
and $self->connection->notes('tls_enabled')) {
|
and $self->connection->notes('tls_enabled')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user