]> granicus.if.org Git - mutt/commitdiff
fix content-length headers.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 13 Aug 2001 16:12:08 +0000 (16:12 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 13 Aug 2001 16:12:08 +0000 (16:12 +0000)
pop.c

diff --git a/pop.c b/pop.c
index dba20846e44d832a6a2854815f9966dfa55556db..d4e0c73a4669ad24585e83c2e739edbf4254219f 100644 (file)
--- a/pop.c
+++ b/pop.c
@@ -428,7 +428,7 @@ int pop_fetch_message (MESSAGE* msg, CONTEXT* ctx, int msgno)
     fgets (buf, sizeof (buf), msg->fp);
   }
 
-  h->content->length = ftell (msg->fp) - h->content->offset + ctx->hdrs[msgno]->lines;
+  h->content->length = ftell (msg->fp) - h->content->offset;
 
   /* This needs to be done in case this is a multipart message */
 #ifdef HAVE_PGP