diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-03-05 23:16:38 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-03-05 23:16:38 +0000 |
commit | 9d129af5c2f19cb5da1c9b381dbadcffdbbdc4d0 (patch) | |
tree | 3d697dfa0409fcb02224d6c253fb6a5d105b09cc /fetchmail.c | |
parent | d85c1c85de9ab0f5af54cbc2121fb778edb544df (diff) | |
download | fetchmail-9d129af5c2f19cb5da1c9b381dbadcffdbbdc4d0.tar.gz fetchmail-9d129af5c2f19cb5da1c9b381dbadcffdbbdc4d0.tar.bz2 fetchmail-9d129af5c2f19cb5da1c9b381dbadcffdbbdc4d0.zip |
Kluge to enable --configdump even when DNS is not available.
svn path=/trunk/; revision=3207
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) |