diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-11-11 12:58:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-11-11 12:58:03 +0000 |
commit | cc413597e0a7954f090fc32851aff958b9d41a6d (patch) | |
tree | a68a1b1898c0eccc129d72503db90763fcda2a49 | |
parent | e7e7f95e4b575da2d83339dd5746d0f1863b7671 (diff) | |
download | fetchmail-cc413597e0a7954f090fc32851aff958b9d41a6d.tar.gz fetchmail-cc413597e0a7954f090fc32851aff958b9d41a6d.tar.bz2 fetchmail-cc413597e0a7954f090fc32851aff958b9d41a6d.zip |
Fix for unusual octet count format.
svn path=/trunk/; revision=529
-rw-r--r-- | pop3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -236,9 +236,9 @@ static int pop3_fetch(FILE *sockfp, int number, int *lenp) *lenp = 0; else { - while (isdigit(*--cp)) + while (--cp > buf && isdigit(*cp)) continue; - *lenp = atoi(++cp); + *lenp = atoi(cp); } return(0); } |