diff options
author | Eric Wong <e@yhbt.net> | 2020-08-01 08:12:27 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-08-02 08:26:20 +0000 |
commit | 77eafbd653d2efac546f2c330d8cf5e84bef2712 (patch) | |
tree | f33da0a4570d14882262ea4ee60ad7982afe6b8a /script/public-inbox-mda | |
parent | fb4bfa102bfa702f13948ac689e54bac9d0084e0 (diff) | |
download | public-inbox-77eafbd653d2efac546f2c330d8cf5e84bef2712.tar.gz |
remove unnecessary ->header_obj calls
We used ->header_obj in the past as an optimization with Email::MIME. That optimization is no longer necessary with PublicInbox::Eml. This doesn't make any functional difference even if we were to go back to Email::MIME. However, it reduces the amount of code we have and slightly reduces allocations with PublicInbox::Eml.
Diffstat (limited to 'script/public-inbox-mda')
-rwxr-xr-x | script/public-inbox-mda | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-mda b/script/public-inbox-mda index 42d0e00c..02ca3431 100755 --- a/script/public-inbox-mda +++ b/script/public-inbox-mda @@ -119,7 +119,7 @@ for my $ibx (@$dests) { # destination succeeds $emm->abort; } else { # v1-only - my $mid = $mime->header_obj->header_raw('Message-ID'); + my $mid = $mime->header_raw('Message-ID'); # this message is similar to what ssoma-mda shows: print STDERR "CONFLICT: Message-ID: $mid exists\n"; } |