cvs commit: qpsmtpd/lib/Qpsmtpd Transaction.pm
[email protected] (Ask Bjoern Hansen)
| Newsgroups | perl.cvs.qpsmtpd |
|---|---|
| Message-ID | <[email protected]> |
cvsuser 03/06/10 03:15:42
Modified: lib/Qpsmtpd Transaction.pm
Log:
nuke the unused and incorrect add_header_line method
clarify when notes gets reset
Revision Changes Path
1.6 +3 -10 qpsmtpd/lib/Qpsmtpd/Transaction.pm
Index: Transaction.pm
===================================================================
RCS file: /cvs/public/qpsmtpd/lib/Qpsmtpd/Transaction.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -r1.5 -r1.6
--- Transaction.pm 9 Jun 2003 13:45:29 -0000 1.5
+++ Transaction.pm 10 Jun 2003 10:15:42 -0000 1.6
@@ -59,10 +59,6 @@
$self->{_notes}->{$key};
}
-sub add_header_line {
- my $self = shift;
- $self->{_header} .= shift;
-}
sub body_write {
my $self = shift;
@@ -190,12 +186,9 @@
to attach to the transaction and read somewhere else. For example you can
use this to pass data between plugins.
-Note though that these notes will be lost on a C<RSET>, so you probably
-want to use the notes field in the C<Qpsmtpd::Connection> object instead.
-
-=head2 add_header_line( $data )
-
-This function appears to be unused. See C<header()> instead.
+Note though that these notes will be lost when a transaction ends, for
+example on a C<RSET> or after C<DATA> completes, so you might want to
+use the notes field in the C<Qpsmtpd::Connection> object instead.
=head2 body_write( $data )