From 9d129af5c2f19cb5da1c9b381dbadcffdbbdc4d0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 5 Mar 2001 23:16:38 +0000 Subject: Kluge to enable --configdump even when DNS is not available. svn path=/trunk/; revision=3207 --- fetchmail.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fetchmail.c b/fetchmail.c index 3b72b8da..31427577 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -1252,6 +1252,12 @@ static int load_params(int argc, char **argv, int optind) #endif /* HAVE_GETHOSTBYNAME */ } } + else + /* + * This is a kluge. It enables users to edit their + * configurations when DNS isn't available. + */ + ctl->server.truename = xstrdup(ctl->server.queryname); /* if no folders were specified, set up the null one as default */ if (!ctl->mailboxes) -- cgit v1.2.3