Author: jpeacock
Date: Mon May 26 14:25:44 2008
New Revision: 917

Modified:
   trunk/lib/Qpsmtpd/Connection.pm
   trunk/plugins/tls

Log:
Preserve connection notes as part of cloning the object (e.g. after
STARTTLS).  Typo noticed in plugins/tls.


Modified: trunk/lib/Qpsmtpd/Connection.pm
==============================================================================
--- trunk/lib/Qpsmtpd/Connection.pm     (original)
+++ trunk/lib/Qpsmtpd/Connection.pm     Mon May 26 14:25:44 2008
@@ -43,6 +43,7 @@
   foreach my $f ( @parameters ) {
     $new->$f($self->$f()) if $self->$f();
   }
+  $new->{_notes} = $self->{_notes} if defined $self->{_notes};
   # reset the old connection object like it's done at the end of a connection
   # to prevent leaks (like prefork/tls problem with the old SSL file handle 
   # still around)

Modified: trunk/plugins/tls
==============================================================================
--- trunk/plugins/tls   (original)
+++ trunk/plugins/tls   Mon May 26 14:25:44 2008
@@ -22,7 +22,7 @@
 
 =item B<ca_path>
 
-Path to the certificate autority file. Default: I<ssl/qpsmtpd-ca.crt>
+Path to the certificate authority file. Default: I<ssl/qpsmtpd-ca.crt>
 
 =back
 

Reply via email to