From 17c363ec5e29760a99502afd70769d6a4c7ae63e Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 26 Dec 1999 14:30:30 +0000 Subject: Drastically simplified UIDL code. svn path=/trunk/; revision=2686 --- fetchmail.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'fetchmail.c') 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) -- cgit v1.2.3