aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-02-10 09:33:43 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-02-10 09:33:43 +0000
commit338b31a37567fb4e66d4918d3261ab3dbde05055 (patch)
tree738dbc8fc37f1ff03527ab5c29deafef6830974d /pop3.c
parent0d7fbc620d1f848846f5523486fe1456fac20d60 (diff)
downloadfetchmail-338b31a37567fb4e66d4918d3261ab3dbde05055.tar.gz
fetchmail-338b31a37567fb4e66d4918d3261ab3dbde05055.tar.bz2
fetchmail-338b31a37567fb4e66d4918d3261ab3dbde05055.zip
Various minor bugfixes.
svn path=/trunk/; revision=859
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index 72232260..bf91bc92 100644
--- a/pop3.c
+++ b/pop3.c
@@ -243,7 +243,7 @@ static int pop3_fetch(FILE *sockfp, struct query *ctl, int number, int *lenp)
*lenp = 0;
else
{
- while (--cp > buf && isdigit(*cp))
+ while (--cp >= buf && isdigit(*cp))
continue;
*lenp = atoi(++cp);
}