aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-05-22 19:16:07 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-05-22 19:16:07 +0000
commit2ce1259d0e69bcf4113ea8f03d94729d262d37e1 (patch)
tree3f29bf12440654f59ca64334797e99de0c9841a8 /imap.c
parentbade0c996acb216b7b2438266bf55b46b198a4cb (diff)
downloadfetchmail-2ce1259d0e69bcf4113ea8f03d94729d262d37e1.tar.gz
fetchmail-2ce1259d0e69bcf4113ea8f03d94729d262d37e1.tar.bz2
fetchmail-2ce1259d0e69bcf4113ea8f03d94729d262d37e1.zip
Sunil Shetye's fix.
svn path=/trunk/; revision=3328
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;