aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-01-28 17:17:42 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-01-28 17:17:42 +0000
commitf4f9da602945abd933e7796546eee4525f5e4c56 (patch)
tree33ea1eb2a7573a2eea3083160f92fefaff7eb8d4 /pop3.c
parent8ef9fbf6b486ff63066fc05eb47cab974ffceb3b (diff)
downloadfetchmail-f4f9da602945abd933e7796546eee4525f5e4c56.tar.gz
fetchmail-f4f9da602945abd933e7796546eee4525f5e4c56.tar.bz2
fetchmail-f4f9da602945abd933e7796546eee4525f5e4c56.zip
Correct length calculation.
svn path=/trunk/; revision=835
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 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);
}