aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-06-28 00:12:38 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-06-28 00:12:38 +0000
commit453cba9d2c57bf23987abace226f279d5d24f1a1 (patch)
tree480db54f58485e1464ac52b2a380103adf9dad9d /fetchmail.c
parentef3579cb8447cde2050229a20ffd9300c71715ea (diff)
downloadfetchmail-453cba9d2c57bf23987abace226f279d5d24f1a1.tar.gz
fetchmail-453cba9d2c57bf23987abace226f279d5d24f1a1.tar.bz2
fetchmail-453cba9d2c57bf23987abace226f279d5d24f1a1.zip
Minor corrections.
svn path=/trunk/; revision=2906
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c
index dd83b671..0dfc7e41 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -922,7 +922,7 @@ static int load_params(int argc, char **argv, int optind)
|| str_in_list(&ctl->server.akalist, argv[optind], TRUE))
{
/* Is this correct? */
- if(predeclared)
+ if (predeclared && outlevel == O_VERBOSE)
fprintf(stderr,_("Warning: multiple mentions of host %s in config file\n"),argv[optind]);
ctl->active = TRUE;
predeclared = TRUE;
@@ -1175,8 +1175,9 @@ static int load_params(int argc, char **argv, int optind)
namerec->h_addr_list[0],
namerec->h_length);
}
-#endif /* HAVE_GETHOSTBYNAME */
+#else
ctl->server.truename = xstrdup(ctl->server.queryname);
+#endif /* HAVE_GETHOSTBYNAME */
}
/* if no folders were specified, set up the null one as default */