Skip to content

Commit

Permalink
* lib/Qpsmtpd/Transaction.pm
Browse files Browse the repository at this point in the history
    Doh!  I should flush() not close(), since other code assume the handle
    is still active.

git-svn-id: https://svn.perl.org/qpsmtpd/branches/0.31@554 958fd67b-6ff1-0310-b445-bb7760255be9
  • Loading branch information
John Peacock committed Oct 20, 2005
1 parent a8b6956 commit e67bbed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Qpsmtpd/Transaction.pm
Expand Up @@ -91,7 +91,7 @@ sub body_current_pos {
sub body_filename {
my $self = shift;
$self->body_spool() unless $self->{_filename};
$self->{_body_file}->close(); # so contents won't be cached
$self->{_body_file}->flush(); # so contents won't be cached
return $self->{_filename};
}

Expand Down

0 comments on commit e67bbed

Please sign in to comment.