summaryrefslogtreecommitdiffstats
path: root/postpone.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-15 01:17:41 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-15 01:17:41 +0000
commita9ea1add36030ef996c8f434a2baadb32ed4357d (patch)
treefaa58bac081be10f228e42223db9204eaf3d3607 /postpone.c
parent1d7247612a8421a3161ed44cee3647a077a2436c (diff)
Fixing a memory hog which was introduced by the edit-message patch.
Diffstat (limited to 'postpone.c')
-rw-r--r--postpone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/postpone.c b/postpone.c
index 23711555..02e18efd 100644
--- a/postpone.c
+++ b/postpone.c
@@ -380,7 +380,7 @@ int mutt_edit_message (CONTEXT *ctx, HEADER *newhdr, HEADER *hdr)
return (-1);
fseek (msg->fp, hdr->offset, 0);
- newhdr->env = mutt_read_rfc822_header (msg->fp, newhdr);
+ newhdr->env = mutt_read_rfc822_header (msg->fp, newhdr, 1);
if (hdr->content->type == TYPEMESSAGE || hdr->content->type == TYPEMULTIPART)
{