]> granicus.if.org Git - mutt/commitdiff
Fix the lines header.
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 26 Nov 1999 09:19:03 +0000 (09:19 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 26 Nov 1999 09:19:03 +0000 (09:19 +0000)
imap/message.c

index e4566e2ed1df3610543da75c6692eb109baae779..0a89ad3aa6bf7cb33ed92e8775ba9293cba78786 100644 (file)
@@ -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))
   {