aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 73a68d31..58927ad6 100644
--- a/imap.c
+++ b/imap.c
@@ -565,7 +565,8 @@ static int imap_getrange(int sock,
}
} while
(tag[0] != '\0' && strncmp(buf, tag, strlen(tag)));
- }
+ } else
+ unseen = -1;
*newp = unseen;
expunged = 0;