diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-03-15 15:32:15 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-03-15 15:32:15 +0000 |
commit | 9f26443a68515fe7683aa5f83c6698b28a39d7f9 (patch) | |
tree | cc68162b26ede03d82b108d1751ec6e56b9b32ae /copy.c | |
parent | 0560bde39f6fc62c80843c6ebf3ff11b1debed81 (diff) |
Add $bounce_delivered.
Diffstat (limited to 'copy.c')
-rw-r--r-- | copy.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -60,7 +60,7 @@ mutt_copy_hdr (FILE *in, FILE *out, long off_start, long off_end, int flags, buf[0] = '\n'; buf[1] = 0; - if ((flags & (CH_REORDER | CH_WEED | CH_MIME | CH_DECODE | CH_PREFIX)) == 0) + if ((flags & (CH_REORDER | CH_WEED | CH_MIME | CH_DECODE | CH_PREFIX | CH_WEED_DELIVERED)) == 0) { /* Without these flags to complicate things * we can do a more efficient line to line copying @@ -149,6 +149,9 @@ mutt_copy_hdr (FILE *in, FILE *out, long off_start, long off_end, int flags, mutt_matches_ignore (buf, Ignore) && !mutt_matches_ignore (buf, UnIgnore)) continue; + if ((flags & CH_WEED_DELIVERED) && + mutt_strncasecmp ("Delivered-To:", buf, 13) == 0) + continue; if ((flags & (CH_UPDATE | CH_XMIT | CH_NOSTATUS)) && (mutt_strncasecmp ("Status:", buf, 7) == 0 || mutt_strncasecmp ("X-Status:", buf, 9) == 0)) |