From: short <> Date: Sun, 15 May 2005 23:47:48 +0000 (+0000) Subject: Fixed warn. X-Git-Url: http://git.jankratochvil.net/?p=PerlMail.git;a=commitdiff_plain;h=851de39e0b19fb4bd49c386e0da048e987110b72 Fixed warn. --- diff --git a/perlmail-accept b/perlmail-accept index 5abd067..3432acb 100755 --- a/perlmail-accept +++ b/perlmail-accept @@ -566,7 +566,9 @@ my($domain,$full,$timeout)=@_; my $code=Mail::Audit::rblcheck($self_faked,$timeout); next if !$code; # Some 0.0.0.0 etc. found for , see: &Mail::Audit::MAPS::_checkit - return $code if $code!='1 Invalid IP address '; + # Do not: $code!='1 Invalid IP address ' + # as it causes warn. + return $code if $code ne '1 Invalid IP address '; return if !$full; } }