aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 8f270c0c..fc5371b2 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -677,7 +677,7 @@ int main(int argc, char **argv)
#ifdef POP3_ENABLE
/* leave the UIDL state alone if there have been any errors */
if (!check_only &&
- ((querystatus==PS_SUCCESS) || (querystatus==PS_NOMAIL)))
+ ((querystatus==PS_SUCCESS) || (querystatus==PS_NOMAIL) || (querystatus==PS_MAXFETCH)))
uid_swap_lists(ctl);
#endif /* POP3_ENABLE */