diff options
-rw-r--r-- | lib/PublicInbox/Mbox.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm index 0d67981f..9f20580e 100644 --- a/lib/PublicInbox/Mbox.pm +++ b/lib/PublicInbox/Mbox.pm @@ -67,9 +67,7 @@ sub emit_msg { # ref: http://www.qmail.org/man/man5/mbox.html $buf =~ s/^(>*From )/>$1/gm; - $buf .= "\n" unless $buf =~ /\n\z/s; - - $fh->write($buf); + $fh->write($buf .= "\n"); } sub emit_mbox { |