aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-03-29 22:12:19 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-03-29 22:12:19 +0000
commitfe4599c16098c65e693802879223081b401c6276 (patch)
tree927e3246254789732e4ac79ed9cdb8c01ffa1bdc /driver.c
parent48529e5bfe1b1f9eb2bf9482c2c9469772020441 (diff)
downloadfetchmail-fe4599c16098c65e693802879223081b401c6276.tar.gz
fetchmail-fe4599c16098c65e693802879223081b401c6276.tar.bz2
fetchmail-fe4599c16098c65e693802879223081b401c6276.zip
IDLE tests are in the wrong place.
svn path=/trunk/; revision=2846
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c8
1 files changed, 4 insertions, 4 deletions
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: