]> Sergey Matveev's repositories - public-inbox.git/commitdiff
mbox: kill Bytes meta-header, too
authorEric Wong <e@80x24.org>
Sun, 4 Oct 2015 00:28:20 +0000 (00:28 +0000)
committerEric Wong <e@80x24.org>
Sun, 4 Oct 2015 00:28:20 +0000 (00:28 +0000)
It may be present in messages imported from NNTP.

lib/PublicInbox/Mbox.pm

index 8bb8dc83ba3d99acc438cae0f62d69203405f529..6aa05170392cc42d841db0d026b2cc2ec189cf1d 100644 (file)
@@ -32,7 +32,7 @@ sub emit_msg {
 
        # drop potentially confusing headers, ssoma already should've dropped
        # Lines and Content-Length
-       foreach my $d (qw(Lines Content-Length Status)) {
+       foreach my $d (qw(Lines Bytes Content-Length Status)) {
                $header_obj->header_set($d);
        }