From 8e9d4c515f4b57e1bee1d6ec3b89702986d7403a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 13 Sep 1998 06:33:22 +0000 Subject: Always get fqdn for KPOP, whether or not DNS is enabled. svn path=/trunk/; revision=2072 --- fetchmail.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index a5256c02..41cff121 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -878,17 +878,8 @@ static int load_params(int argc, char **argv, int optind) if ((ctl->server.protocol == P_ETRN || ctl->server.preauthenticate == A_KERBEROS_V4 || ctl->server.preauthenticate == A_KERBEROS_V5)) - if (ctl->server.dns) - { - if (strcmp(fetchmailhost, "localhost") == 0) + if (strcmp(fetchmailhost, "localhost") == 0) fetchmailhost = host_fqdn(); - } - else - { - fprintf(stderr, "DNS is required for %s protocol", - showproto(ctl->server.protocol)); - exit(PS_DNS); - } /* * Make sure we have a nonempty host list to forward to. -- cgit v1.2.3