/[smeserver]/rpms/qpsmtpd/sme10/0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme10/0037-Revert-Spool-body-when-transaction-body_fh-is-called.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Feb 7 20:49:54 2016 UTC (8 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: qpsmtpd-0_96-19_el7_sme, qpsmtpd-0_96-12_el7_sme, qpsmtpd-0_96-11_el7_sme, qpsmtpd-0_96-16_el7_sme, qpsmtpd-0_96-13_el7_sme, qpsmtpd-0_96-6_el7_sme, qpsmtpd-0_96-18_el7_sme, qpsmtpd-0_96-23_el7_sme, qpsmtpd-0_96-20_el7_sme, qpsmtpd-0_84-20_el7_sme, qpsmtpd-0_96-17_el7_sme, qpsmtpd-0_96-8_el7_sme, qpsmtpd-0_96-5_el7_sme, qpsmtpd-0_96-2_el7_sme, qpsmtpd-0_96-21_el7_sme, qpsmtpd-0_96-22_el7_sme, qpsmtpd-0_96-14_el7_sme, qpsmtpd-0_96-15_el7_sme, qpsmtpd-0_96-9_el7_sme, qpsmtpd-0_96-4_el7_sme, qpsmtpd-0_96-1_el7_sme, qpsmtpd-0_96-3_el7_sme, qpsmtpd-0_84-18_el7_sme, qpsmtpd-0_96-10_el7_sme, qpsmtpd-0_84-19_el7_sme, HEAD
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 0.84-18.sme
- Build new rpm for sme10

1 From 461dabc3e1e7ef456358c15219b2b343c02ff43e Mon Sep 17 00:00:00 2001
2 From: Robert <rspier@pobox.com>
3 Date: Fri, 29 Oct 2010 22:19:30 -0700
4 Subject: Revert "Spool body when $transaction->body_fh() is called"
5
6 This reverts commit a52660a646012691f993cca821c00fe05cff08bb.
7
8 See http://www.nntp.perl.org/group/perl.qpsmtpd/2010/10/msg9453.html for discussion.
9 ---
10 Changes | 2 ++
11 lib/Qpsmtpd/Transaction.pm | 5 +----
12 2 files changed, 3 insertions(+), 4 deletions(-)
13
14 diff --git a/Changes b/Changes
15 index a864b4f..a3437ef 100644
16 --- a/Changes
17 +++ b/Changes
18 @@ -16,6 +16,8 @@ Next Version
19
20 assorted documentation cleanups (Steve Kemp, Robert Spier)
21
22 + Revert "Spool body when $transaction->body_fh() is called"
23 +
24 0.84 April 7, 2010
25
26 uribl: fix scan-headers option (Jost Krieger, Robert Spier)
27 diff --git a/lib/Qpsmtpd/Transaction.pm b/lib/Qpsmtpd/Transaction.pm
28 index 1dec547..a828fb6 100644
29 --- a/lib/Qpsmtpd/Transaction.pm
30 +++ b/lib/Qpsmtpd/Transaction.pm
31 @@ -213,10 +213,7 @@ sub body_as_string {
32 }
33
34 sub body_fh {
35 - my ($self) = @_;
36 - # Spool to disk if we weren't already doing so
37 - $self->body_spool() unless $self->{_filename};
38 - return $self->{_body_file};
39 + return shift->{_body_file};
40 }
41
42 sub dup_body_fh {
43 --
44 1.7.2.2
45

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed