From eded3bba62428f6cc098c3bd8658d32aee3e2c58 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 6 Aug 2000 09:01:43 +0000 Subject: David Taylor's fixes for the UIDL code. svn path=/trunk/; revision=2943 --- fetchmail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 970e1ac1..6c392f4a 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -653,7 +653,8 @@ int main(int argc, char **argv) #ifdef POP3_ENABLE /* leave the UIDL state alone if there have been any errors */ - if (!check_only && !querystatus) + if (!check_only && + ((querystatus==PS_SUCCESS) || (querystatus==PS_NOMAIL))) uid_swap_lists(ctl); #endif /* POP3_ENABLE */ -- cgit v1.2.3