summaryrefslogtreecommitdiff
path: root/mbox-extract-patch
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-06-07 15:19:15 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-06-07 15:19:15 -0700
commitf0e8b3011d830c311c53a389909982ceb44f25a0 (patch)
treeb35fbae2c78646e135817e90facdf04790074709 /mbox-extract-patch
parentd127bf670061df22ed3f86a1efec4fcb6d09a1b9 (diff)
parent42e8b6cb2ccdbc7a91b322383c1f3b20d745e095 (diff)
downloadmailscripts-f0e8b3011d830c311c53a389909982ceb44f25a0.tar.gz
Merge tag 'debian/0.21-1' into buster-bpo
mailscripts release 0.21-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear] # gpg: Signature made Mon 01 Jun 2020 10:17:16 AM MST # gpg: using RSA key 9B917007AE030E36E4FC248B695B7AE4BF066240 # gpg: Good signature from "Sean Whitton <spwhitton@spwhitton.name>" [ultimate] # Primary key fingerprint: 8DC2 487E 51AB DD90 B5C4 753F 0F56 D055 3B6D 411B # Subkey fingerprint: 9B91 7007 AE03 0E36 E4FC 248B 695B 7AE4 BF06 6240
Diffstat (limited to 'mbox-extract-patch')
-rwxr-xr-xmbox-extract-patch2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbox-extract-patch b/mbox-extract-patch
index 276895b..31e6ceb 100755
--- a/mbox-extract-patch
+++ b/mbox-extract-patch
@@ -178,6 +178,8 @@ package Mail::Message {
}
}
+ $i == 0 or $lines[$i - 1] =~ /^$/ or unshift @new_ts, "\n";
+
splice @lines, $i, 0, @new_ts;
my $body = Mail::Message::Body->new(
charset => "PERL",