develooper Front page | perl.cvs.qpsmtpd | Postings from February 2007

[svn:qpsmtpd] r712 - in trunk: lib/Qpsmtpd plugins

From:
jpeacock
Date:
February 7, 2007 13:25
Subject:
[svn:qpsmtpd] r712 - in trunk: lib/Qpsmtpd plugins
Message ID:
20070207222546.BD27BCBA1B@x12.develooper.com
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');



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About