diff options
author | Eric Wong <e@yhbt.net> | 2020-04-18 03:38:52 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-04-19 08:51:27 +0000 |
commit | 92de3139920992bfad32ef927153f27addfdc72c (patch) | |
tree | 7f03b4d1d7579c5334ef916676429a060264bf4e /lib/PublicInbox/Mbox.pm | |
parent | c91490ccae1a1775da1e816866ef0b08b234ff54 (diff) | |
download | public-inbox-92de3139920992bfad32ef927153f27addfdc72c.tar.gz |
Email::Simple preserves the message line ending in headers, so make the From_ line consistent with the rest of the headers.
Diffstat (limited to 'lib/PublicInbox/Mbox.pm')
-rw-r--r-- | lib/PublicInbox/Mbox.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm index d5beceaf..16de1a72 100644 --- a/lib/PublicInbox/Mbox.pm +++ b/lib/PublicInbox/Mbox.pm @@ -106,7 +106,7 @@ sub msg_hdr ($$;$) { 'List-Post', "<mailto:$ibx->{-primary_address}>", ); my $crlf = $header_obj->crlf; - my $buf = "From mboxrd\@z Thu Jan 1 00:00:00 1970\n" . + my $buf = 'From mboxrd@z Thu Jan 1 00:00:00 1970' . $crlf . $header_obj->as_string; for (my $i = 0; $i < @append; $i += 2) { my $k = $append[$i]; |