From cca409b5ce0ad4b08fa36e80feb77aa8727c08a1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 8 Oct 1997 16:30:21 +0000 Subject: Fix the limit/repoll bug. svn path=/trunk/; revision=1490 --- NEWS | 1 + driver.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 037cf13c..16b03285 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ ------------------------------------------------------------------------------ fetchmail-4.3.1 () * Minor portation fixes for early AIX version and NextSTEP. +* Fixed a bad interaction between --limit and the repoll feature. There are 280 people on fetchmail-friends and 8 on fetchmail-announce. diff --git a/driver.c b/driver.c index c8b76d08..70b500fb 100644 --- a/driver.c +++ b/driver.c @@ -1883,7 +1883,7 @@ const struct method *proto; /* protocol method table */ * Only re-poll if we allowed deletions and had no errors. * Otherwise it is far too easy to get into infinite loops. */ - (protocol->retry && !ctl->keep && !ctl->errcount); + (fetches && protocol->retry && !ctl->keep && !ctl->errcount); } no_error: -- cgit v1.2.3