X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pop%2Fpop.c;h=34d1cc779e126ca2eec31738df223b81952256f3;hb=c8ceef3ed6424dcb5a6ec835e7d8d9cc00595372;hp=804fec25714f5a4dc5b63a2afb012fb4cc5b4ae2;hpb=aa55c2d3e1bd7d40f866932b3833f338cf6c9d9b;p=apps%2Fmadmutt.git diff --git a/pop/pop.c b/pop/pop.c index 804fec2..34d1cc7 100644 --- a/pop/pop.c +++ b/pop/pop.c @@ -417,7 +417,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; + h->content->length = ftello (msg->fp) - h->content->offset; /* This needs to be done in case this is a multipart message */ if (!WithCrypto)