From be18f8604edd1ab26bf41d4e08de4b60b30e2173 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Fri, 26 Nov 1999 09:19:03 +0000 Subject: Fix the lines header. --- imap/message.c | 1 + 1 file changed, 1 insertion(+) (limited to 'imap') 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)) { -- cgit v1.2.3