From a53713a0f8585c6313efd0975cc896788c6ca898 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 28 Sep 1999 21:25:11 +0000 Subject: Tolerate more than one authorization failure. svn path=/trunk/; revision=2621 --- driver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index cf18ae71..38da2d87 100644 --- a/driver.c +++ b/driver.c @@ -1653,10 +1653,11 @@ const int maxfetch; /* maximum number of messages to fetch */ /* * If we're running in background, try to mail the * calling user a heads-up about the authentication - * failure the first time it happens. + * failure once it looks like this isn't a fluke + * due to the server being temporarily inaccessible. */ if (run.poll_interval - && !ctl->wedged + && ctl->authfailcount++ > MAX_AUTHFAILS && !open_warning_by_mail(ctl, (struct msgblk *)NULL)) { stuff_warning(ctl, -- cgit v1.2.3