Author: jpeacock
Date: Wed May 30 08:49:54 2007
New Revision: 746
Modified:
trunk/lib/Qpsmtpd/SMTP.pm
Log:
Always initialize variables if setting them is conditional.
Modified: trunk/lib/Qpsmtpd/SMTP.pm
==============================================================================
--- trunk/lib/Qpsmtpd/SMTP.pm (original)
+++ trunk/lib/Qpsmtpd/SMTP.pm Wed May 30 08:49:54 2007
@@ -659,8 +659,8 @@
my $smtp = $self->connection->hello eq "ehlo" ? "ESMTP" : "SMTP";
my $esmtp = substr($smtp,0,1) eq "E";
- my $authheader;
- my $sslheader;
+ my $authheader = '';
+ my $sslheader = '';
if (defined $self->connection->notes('tls_enabled')
and $self->connection->notes('tls_enabled')) {