From 2ce1259d0e69bcf4113ea8f03d94729d262d37e1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 22 May 2001 19:16:07 +0000 Subject: Sunil Shetye's fix. svn path=/trunk/; revision=3328 --- imap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'imap.c') 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; -- cgit v1.2.3