SMTP.pm: fixed invalid operator

which produced this warning:
   Useless use of string eq in void context at lib/Qpsmtpd/SMTP.pm line 639.
This commit is contained in:
Matt Simerson 2012-11-14 17:37:38 -05:00
parent 55119616d4
commit 24ad1184ca

View File

@ -636,7 +636,7 @@ sub data_respond {
while (defined($_ = $self->getline($timeout))) {
if ( $_ eq ".\r\n" ) {
$complete++;
$_ eq '';
$_ = '';
};
$i++;