aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-08-06 09:01:43 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-08-06 09:01:43 +0000
commiteded3bba62428f6cc098c3bd8658d32aee3e2c58 (patch)
tree7f19d576bb20e4ad49b09d65833cefa1726ee3c5 /fetchmail.c
parentba5207121664860a31125c9552ece6a8ffb51e54 (diff)
downloadfetchmail-eded3bba62428f6cc098c3bd8658d32aee3e2c58.tar.gz
fetchmail-eded3bba62428f6cc098c3bd8658d32aee3e2c58.tar.bz2
fetchmail-eded3bba62428f6cc098c3bd8658d32aee3e2c58.zip
David Taylor's fixes for the UIDL code.
svn path=/trunk/; revision=2943
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c3
1 files changed, 2 insertions, 1 deletions
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 */