On Mar 10, 2009, at 23:23, Hanno Hecker wrote:
diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index f669055..bf21771 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -162,7 +162,8 @@ sub helo_respond { my ($self, $rc, $msg, $args) = @_; my ($hello_host) = @$args; if ($rc == DONE) { - # do nothing + # do nothing: + 1;
If the intention here is to return 1 it should be an explicit "return 1" or just move the "return 1 as default" to the end of the method. (Otherwise it'll be easy for something else accidentally ending up as the last statement).
- ask -- http://develooper.com/ - http://askask.com/