aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
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);
}