aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2002-09-17 09:36:00 +0000
committerEric S. Raymond <esr@thyrsus.com>2002-09-17 09:36:00 +0000
commit6ddd8c9505a4620fd4b8f2a16a2de7ae1930897f (patch)
treef0023cf3ace75fa8f7b0304a74d802b04c1f65d0 /fetchmail.c
parent8f4a52422003ec63e851d60fc0d0441a9eca7c58 (diff)
downloadfetchmail-6ddd8c9505a4620fd4b8f2a16a2de7ae1930897f.tar.gz
fetchmail-6ddd8c9505a4620fd4b8f2a16a2de7ae1930897f.tar.bz2
fetchmail-6ddd8c9505a4620fd4b8f2a16a2de7ae1930897f.zip
Fix a minor bug reported by Matthias Andree.
svn path=/trunk/; revision=3722
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 74ccc4f4..6eb0a39e 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1327,8 +1327,9 @@ static int query_host(struct query *ctl)
ctl->server.protocol = autoprobe[i];
do {
st = query_host(ctl);
- } while (st == PS_REPOLL);
- if (st == PS_SUCCESS || st == PS_NOMAIL || st == PS_AUTHFAIL || st == PS_LOCKBUSY || st == PS_SMTP || st == PS_MAXFETCH)
+ } while
+ (st == PS_REPOLL);
+ if (st == PS_SUCCESS || st == PS_NOMAIL || st == PS_AUTHFAIL || st == PS_LOCKBUSY || st == PS_SMTP || st == PS_MAXFETCH || st == PS_DNS)
break;
}
ctl->server.protocol = P_AUTO;