summaryrefslogtreecommitdiffstats
path: root/mbox.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 /mbox.c
parent1d7247612a8421a3161ed44cee3647a077a2436c (diff)
Fixing a memory hog which was introduced by the edit-message patch.
Diffstat (limited to 'mbox.c')
-rw-r--r--mbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbox.c b/mbox.c
index 54153eab..f644e7aa 100644
--- a/mbox.c
+++ b/mbox.c
@@ -135,7 +135,7 @@ int mmdf_parse_mailbox (CONTEXT *ctx)
else
hdr->received = t + tz;
- hdr->env = mutt_read_rfc822_header (ctx->fp, hdr);
+ hdr->env = mutt_read_rfc822_header (ctx->fp, hdr, 0);
loc = ftell (ctx->fp);
@@ -270,7 +270,7 @@ int mbox_parse_mailbox (CONTEXT *ctx)
curhdr->offset = loc;
curhdr->index = ctx->msgcount;
- curhdr->env = mutt_read_rfc822_header (ctx->fp, curhdr);
+ curhdr->env = mutt_read_rfc822_header (ctx->fp, curhdr, 0);
/* if we know how long this message is, either just skip over the body,
* or if we don't know how many lines there are, count them now (this will