aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS7
-rw-r--r--pop3.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 35e97d42..938dd72d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,13 @@
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)
features --
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);
}