diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-15 01:17:41 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-15 01:17:41 +0000 |
commit | a9ea1add36030ef996c8f434a2baadb32ed4357d (patch) | |
tree | faa58bac081be10f228e42223db9204eaf3d3607 /sendlib.c | |
parent | 1d7247612a8421a3161ed44cee3647a077a2436c (diff) |
Fixing a memory hog which was introduced by the edit-message patch.
Diffstat (limited to 'sendlib.c')
-rw-r--r-- | sendlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1024,7 +1024,8 @@ BODY *mutt_make_message_attach (CONTEXT *ctx, HEADER *hdr, int attach_msg) body->hdr = mutt_new_header(); body->hdr->offset = 0; - body->hdr->env = mutt_read_rfc822_header(fp, body->hdr); + /* we don't need the user headers here */ + body->hdr->env = mutt_read_rfc822_header(fp, body->hdr, 0); #ifdef _PGPPATH body->hdr->pgp = pgp; #endif /* _PGPPATH */ |