diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-16 15:38:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-16 15:38:37 +0000 |
commit | a0666c938f541c79584638fa3ca43d5250d95e29 (patch) | |
tree | 8063e45a7b847dae4cf3e1445d66b32c11eee53a /imap.c | |
parent | c5f404bd28d49cc3f5f2545b01387c3de0cb41a9 (diff) | |
download | fetchmail-a0666c938f541c79584638fa3ca43d5250d95e29.tar.gz fetchmail-a0666c938f541c79584638fa3ca43d5250d95e29.tar.bz2 fetchmail-a0666c938f541c79584638fa3ca43d5250d95e29.zip |
Fix bug in number-scanning.
svn path=/trunk/; revision=1347
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -63,10 +63,8 @@ int imap_ok (int sock, char *argbuf) */ unseen = 0; for (cp = buf; *cp && !isdigit(*cp); cp++) - { - unseen = atoi(cp); - break; - } + continue; + unseen = atoi(cp); } if (strstr(buf, "FLAGS")) seen = (strstr(buf, "Seen") != (char *)NULL); |