From fe4599c16098c65e693802879223081b401c6276 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 29 Mar 2000 22:12:19 +0000 Subject: IDLE tests are in the wrong place. svn path=/trunk/; revision=2846 --- driver.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index e9a888fa..26ff2879 100644 --- a/driver.c +++ b/driver.c @@ -1516,7 +1516,7 @@ const int maxfetch; /* maximum number of messages to fetch */ * Don't do this if the connection can idle, though; idle * timeouts just mean the frequency of mail is low. */ - if (!ctl->idle && timeoutcount > MAX_TIMEOUTS + if (timeoutcount > MAX_TIMEOUTS && !open_warning_by_mail(ctl, (struct msgblk *)NULL)) { stuff_warning(ctl, @@ -2206,11 +2206,11 @@ const int maxfetch; /* maximum number of messages to fetch */ } } while /* - * Only re-poll if we either had some actual forwards or, - * are idling, and allowed deletions and had no errors. + * Only re-poll if we either had some actual forwards and + * either allowed deletions and had no errors. * Otherwise it is far too easy to get into infinite loops. */ - ((dispatches || ctl->idle) && protocol->retry && !ctl->keep && !ctl->errcount); + (dispatches && protocol->retry && !ctl->keep && !ctl->errcount); } no_error: -- cgit v1.2.3