From 4f181c51535c1237b2582feca49ecd39f657463f Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 14 Nov 2012 17:37:38 -0500 Subject: [PATCH] SMTP.pm: fixed invalid operator which produced this warning: Useless use of string eq in void context at lib/Qpsmtpd/SMTP.pm line 639. --- lib/Qpsmtpd/SMTP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index f1b48db..fd6dcf4 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -636,7 +636,7 @@ sub data_respond { while (defined($_ = $self->getline($timeout))) { if ( $_ eq ".\r\n" ) { $complete++; - $_ eq ''; + $_ = ''; }; $i++;