aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-03-05 23:16:38 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-03-05 23:16:38 +0000
commit9d129af5c2f19cb5da1c9b381dbadcffdbbdc4d0 (patch)
tree3d697dfa0409fcb02224d6c253fb6a5d105b09cc /fetchmail.c
parentd85c1c85de9ab0f5af54cbc2121fb778edb544df (diff)
downloadfetchmail-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.c6
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)