aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
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)