aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-12-26 14:30:30 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-12-26 14:30:30 +0000
commit17c363ec5e29760a99502afd70769d6a4c7ae63e (patch)
tree8313c91aff4c0e6825327ac9c98f1e78a83a48b4 /fetchmail.c
parent1c34302390ef8d7a3419d1723682a4487796f75c (diff)
downloadfetchmail-17c363ec5e29760a99502afd70769d6a4c7ae63e.tar.gz
fetchmail-17c363ec5e29760a99502afd70769d6a4c7ae63e.tar.bz2
fetchmail-17c363ec5e29760a99502afd70769d6a4c7ae63e.zip
Drastically simplified UIDL code.
svn path=/trunk/; revision=2686
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 08d051af..570238b1 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -627,17 +627,12 @@ int main(int argc, char **argv)
querystatus = query_host(ctl);
#ifdef POP3_ENABLE
- /* Save UID list to prevent re-fetch in cases fetchmail
- recover from crash */
if (!check_only)
- if ((querystatus==PS_SUCCESS)||(querystatus==PS_MAXFETCH))
- {
- update_str_lists(ctl);
-
- write_saved_lists(querylist, run.idfile);
- if (outlevel >= O_DEBUG)
- report(stdout, _("saved UID List\n"));
- }
+ {
+ write_saved_lists(querylist, run.idfile);
+ if (outlevel >= O_DEBUG)
+ report(stdout, _("saved UID lists\n"));
+ }
#endif /* POP3_ENABLE */
if (querystatus == PS_SUCCESS)