summaryrefslogtreecommitdiffstats
path: root/imap
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-11-26 09:19:03 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-11-26 09:19:03 +0000
commitbe18f8604edd1ab26bf41d4e08de4b60b30e2173 (patch)
tree2b3875bc696e24105e17418b47e05022b9202fee /imap
parente4391cf30fdc1c2190ac22640fb09654a86bf66f (diff)
Fix the lines header.
Diffstat (limited to 'imap')
-rw-r--r--imap/message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/message.c b/imap/message.c
index e4566e2e..0a89ad3a 100644
--- a/imap/message.c
+++ b/imap/message.c
@@ -370,6 +370,7 @@ int imap_fetch_message (MESSAGE *msg, CONTEXT *ctx, int msgno)
rewind (msg->fp);
mutt_free_envelope (&ctx->hdrs[msgno]->env);
ctx->hdrs[msgno]->env = mutt_read_rfc822_header (msg->fp, ctx->hdrs[msgno],0, 0);
+ ctx->hdrs[msgno]->lines = 0;
fgets (buf, sizeof (buf), msg->fp);
while (!feof (msg->fp))
{