diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-22 10:33:33 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-22 10:33:33 +0000 |
commit | 206f1285d31b58bb3317a42a52099df67ac790e7 (patch) | |
tree | 992c7ca9ca7e8c5ec11456d36cec8081d0bb05f7 /pop3.c | |
parent | 46f015be0597ded4531f7dbf014f5e5bfa93c2b7 (diff) | |
download | fetchmail-206f1285d31b58bb3317a42a52099df67ac790e7.tar.gz fetchmail-206f1285d31b58bb3317a42a52099df67ac790e7.tar.bz2 fetchmail-206f1285d31b58bb3317a42a52099df67ac790e7.zip |
Blank skipping in UIDL code would count spaces from the wrong string.
svn path=/trunk/; revision=4161
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -651,7 +651,8 @@ static int parseuid(const char *buf, unsigned long *gotnum, char *id, size_t ids char *j; /* skip leading blanks ourselves */ - i = buf + strspn(i, POSIX_space); + i = buf; + i += strspn(i, POSIX_space); errno = 0; *gotnum = strtoul(i, &j, 10); if (j == i || !*j || errno || NULL == strchr(POSIX_space, *j)) { |