From f4f9da602945abd933e7796546eee4525f5e4c56 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 28 Jan 1997 17:17:42 +0000 Subject: Correct length calculation. svn path=/trunk/; revision=835 --- NEWS | 7 +++++++ pop3.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 35e97d42..938dd72d 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,12 @@ Release Notes: +------------------------------------------------------------------------------ +fetchmail-3.3 () + +features -- + +* Correction to length-extraction code for servers that return (nnn octets). + ------------------------------------------------------------------------------ fetchmail-3.2 (Mon Jan 27 02:51:10 EST 1997) diff --git a/pop3.c b/pop3.c index 17a6306a..72232260 100644 --- a/pop3.c +++ b/pop3.c @@ -245,7 +245,7 @@ static int pop3_fetch(FILE *sockfp, struct query *ctl, int number, int *lenp) { while (--cp > buf && isdigit(*cp)) continue; - *lenp = atoi(cp); + *lenp = atoi(++cp); } return(0); } -- cgit v1.2.3