From ac7b893fc08367164bd5ee2b17ba21b7b2bb604d Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 13 Aug 2001 16:12:08 +0000 Subject: [PATCH] fix content-length headers. --- pop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pop.c b/pop.c index dba20846..d4e0c73a 100644 --- 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 -- 2.40.0