diff options
| author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-28 21:25:11 +0000 | 
|---|---|---|
| committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-28 21:25:11 +0000 | 
| commit | a53713a0f8585c6313efd0975cc896788c6ca898 (patch) | |
| tree | 0d37152fe0df266bb35662709898f505f29e172e /driver.c | |
| parent | 6df2d8474695b9d1fd5c477c8c43f3cd0e038fe4 (diff) | |
| download | fetchmail-a53713a0f8585c6313efd0975cc896788c6ca898.tar.gz fetchmail-a53713a0f8585c6313efd0975cc896788c6ca898.tar.bz2 fetchmail-a53713a0f8585c6313efd0975cc896788c6ca898.zip | |
Tolerate more than one authorization failure.
svn path=/trunk/; revision=2621
Diffstat (limited to 'driver.c')
| -rw-r--r-- | driver.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| @@ -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, | 
