summaryrefslogtreecommitdiffstats
path: root/send.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-28 18:36:11 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-28 18:36:11 +0000
commit844541347e69fd8e04165f0279ef1d909dafe654 (patch)
tree33346c8ad345d7f9687c1e73928996a5a9bcba1c /send.c
parent5bc94b2f111dc5f2eed7a2d1914b5fa961af7c99 (diff)
Add a $forward_weed option which controls header weeding when
decode-forwarding messages.
Diffstat (limited to 'send.c')
-rw-r--r--send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/send.c b/send.c
index a0da8437..6944438c 100644
--- a/send.c
+++ b/send.c
@@ -337,7 +337,8 @@ static int include_forward (CONTEXT *ctx, HEADER *cur, FILE *out)
if (option (OPTFORWDECODE))
{
cmflags |= M_CM_DECODE;
- chflags |= CH_WEED;
+ if (option (OPTFORWWEEDHEADER))
+ chflags |= CH_WEED;
}
if (option (OPTFORWQUOTE))
cmflags |= M_CM_PREFIX;