diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-05 15:45:34 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-05 15:45:34 +0000 |
commit | e37237500eed0160b7dcff141acf2472fa5ac991 (patch) | |
tree | e4ce6504b129eddc8b258ee3bc1bb0ff6cb2ddac | |
parent | f840a7320cb3a4cfdc1082756e842fcb3b350f75 (diff) | |
download | fetchmail-e37237500eed0160b7dcff141acf2472fa5ac991.tar.gz fetchmail-e37237500eed0160b7dcff141acf2472fa5ac991.tar.bz2 fetchmail-e37237500eed0160b7dcff141acf2472fa5ac991.zip |
Have AUTO mode croak on SMTP error.
svn path=/trunk/; revision=1306
-rw-r--r-- | fetchmail.c | 2 |
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; |