diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-13 23:53:34 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-13 23:53:34 +0000 |
commit | 07921aefa96266949a198f6b43726369c42bed66 (patch) | |
tree | 9eb65f45fd30d80a3f08daede4ccebfcbcb74dea /driver.c | |
parent | 94719f385ba4478c46a737edafd9cbbcd1485028 (diff) | |
download | fetchmail-07921aefa96266949a198f6b43726369c42bed66.tar.gz fetchmail-07921aefa96266949a198f6b43726369c42bed66.tar.bz2 fetchmail-07921aefa96266949a198f6b43726369c42bed66.zip |
Cosmetic fix.
svn path=/trunk/; revision=3251
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 80 |
1 files changed, 39 insertions, 41 deletions
@@ -1901,48 +1901,46 @@ is restored.")); } else { - /* - * This connection has given us authorization - * at least once. - * - * There are dodgy server (clubinternet.fr for - * example) that give spurious authorization - * failures on patently good account/password - * details, then 5 minutes later let you in! - * - * This is meant to build in some tolerance of - * such nasty bits of work - */ - ctl->wehaveauthed = 1; - /*if (ctl->authfailcount >= 3)*/ - if (ctl->wehavesentauthnote) - { - ctl->wehavesentauthnote = 0; - report(stderr, - _("Authorization OK on %s@%s\n"), - ctl->remotename, - ctl->server.truename); - if (!open_warning_by_mail(ctl, (struct msgblk *)NULL)) - { - stuff_warning(ctl, - _("Subject: fetchmail authentication OK\r\n")); - stuff_warning(ctl, - _("Fetchmail was able to log into %s@%s.\r\n"), - ctl->remotename, - ctl->server.truename); - stuff_warning(ctl, - _("Service has been restored.\r\n")); - close_warning_by_mail(ctl, (struct msgblk *)NULL); + /* + * This connection has given us authorization at least once. + * + * There are dodgy server (clubinternet.fr for example) that + * give spurious authorization failures on patently good + * account/password details, then 5 minutes later let you in! + * + * This is meant to build in some tolerance of such nasty bits + * of work. + */ + ctl->wehaveauthed = 1; + /*if (ctl->authfailcount >= 3)*/ + if (ctl->wehavesentauthnote) + { + ctl->wehavesentauthnote = 0; + report(stderr, + _("Authorization OK on %s@%s\n"), + ctl->remotename, + ctl->server.truename); + if (!open_warning_by_mail(ctl, (struct msgblk *)NULL)) + { + stuff_warning(ctl, + _("Subject: fetchmail authentication OK\r\n")); + stuff_warning(ctl, + _("Fetchmail was able to log into %s@%s.\r\n"), + ctl->remotename, + ctl->server.truename); + stuff_warning(ctl, + _("Service has been restored.\r\n")); + close_warning_by_mail(ctl, (struct msgblk *)NULL); - } - } - /* - * Reporting only after the first three - * consecutive failures, or ten consecutive - * failures after we have managed to get - * authorization. - */ - ctl->authfailcount = 0; + } + } + /* + * Reporting only after the first three + * consecutive failures, or ten consecutive + * failures after we have managed to get + * authorization. + */ + ctl->authfailcount = 0; } } |