[svn:qpsmtpd] r712 - in trunk: lib/Qpsmtpd plugins
[email protected] Wed, 7 Feb 2007 14:25:46 -0800 (PST)
| Newsgroups | perl.cvs.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
Author: jpeacock
Date: Wed Feb 7 14:25:44 2007
New Revision: 712
Modified:
trunk/lib/Qpsmtpd/PollServer.pm
trunk/plugins/check_earlytalker
Log:
Correct way to support check_earlytalker with PollServer.
Modified: trunk/lib/Qpsmtpd/PollServer.pm
==============================================================================
--- trunk/lib/Qpsmtpd/PollServer.pm (original)
+++ trunk/lib/Qpsmtpd/PollServer.pm Wed Feb 7 14:25:44 2007
@@ -15,6 +15,7 @@
hooks
start_time
cmd_timeout
+ conn
_auth
_auth_mechanism
_auth_state
Modified: trunk/plugins/check_earlytalker
==============================================================================
--- trunk/plugins/check_earlytalker (original)
+++ trunk/plugins/check_earlytalker Wed Feb 7 14:25:44 2007
@@ -66,7 +66,7 @@
'defer-reject' => 0,
@args,
};
- if (exists $qp->{conn} && $qp->{conn}->isa('Apache2::Connection')) {
+ if ( $qp->{conn} && $qp->{conn}->isa('Apache2::Connection')) {
require APR::Const;
APR::Const->import(qw(POLLIN SUCCESS));
$self->register_hook('connect', 'apr_connect_handler');