aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-05 15:45:34 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-05 15:45:34 +0000
commite37237500eed0160b7dcff141acf2472fa5ac991 (patch)
treee4ce6504b129eddc8b258ee3bc1bb0ff6cb2ddac /fetchmail.c
parentf840a7320cb3a4cfdc1082756e842fcb3b350f75 (diff)
downloadfetchmail-e37237500eed0160b7dcff141acf2472fa5ac991.tar.gz
fetchmail-e37237500eed0160b7dcff141acf2472fa5ac991.tar.bz2
fetchmail-e37237500eed0160b7dcff141acf2472fa5ac991.zip
Have AUTO mode croak on SMTP error.
svn path=/trunk/; revision=1306
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 2d862f84..1f136098 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -780,7 +780,7 @@ static int query_host(struct query *ctl)
for (i = 0; i < sizeof(autoprobe)/sizeof(autoprobe[0]); i++)
{
ctl->server.protocol = autoprobe[i];
- if ((st = query_host(ctl)) == PS_SUCCESS || st == PS_NOMAIL || st == PS_AUTHFAIL || st == PS_LOCKBUSY)
+ if ((st = query_host(ctl)) == PS_SUCCESS || st == PS_NOMAIL || st == PS_AUTHFAIL || st == PS_LOCKBUSY || st == PS_SMTP)
break;
}
ctl->server.protocol = P_AUTO;