aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
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 3d145499..48c68b1f 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -1112,7 +1112,7 @@ static int load_params(int argc, char **argv, int optind)
ctl->server.truename = xstrdup(leadname);
}
#ifdef HAVE_GETHOSTBYNAME
- else if (ctl->active && !configdump)
+ else if (ctl->active && ctl->server.dns && !configdump)
{
if (ctl->server.authenticate==A_KERBEROS_V4 ||
ctl->server.authenticate==A_KERBEROS_V5 ||