aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/imap.c b/imap.c
index 0668ff36..53d9a11c 100644
--- a/imap.c
+++ b/imap.c
@@ -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);