aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-05 16:04:11 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-05 16:04:11 +0000
commit15591c53ff9eaea05b6ba6cb387bd7b8e492d292 (patch)
treed4d530ecda45081de8b2f9fa027ac8b10ae0ea3d /fetchmail.c
parente37237500eed0160b7dcff141acf2472fa5ac991 (diff)
downloadfetchmail-15591c53ff9eaea05b6ba6cb387bd7b8e492d292.tar.gz
fetchmail-15591c53ff9eaea05b6ba6cb387bd7b8e492d292.tar.bz2
fetchmail-15591c53ff9eaea05b6ba6cb387bd7b8e492d292.zip
Fall back on localhost.
svn path=/trunk/; revision=1307
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 1f136098..4730e1e7 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -530,6 +530,7 @@ static int load_params(int argc, char **argv, int optind)
def_opts.server.timeout = CLIENT_TIMEOUT;
def_opts.remotename = user;
save_str(&def_opts.smtphunt, -1, fetchmailhost);
+ save_str(&def_opts.smtphunt, -1, "localhost");
/* this builds the host list */
if (prc_parse_file(rcfile, !versioninfo) != 0)