From 453cba9d2c57bf23987abace226f279d5d24f1a1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 28 Jun 2000 00:12:38 +0000 Subject: Minor corrections. svn path=/trunk/; revision=2906 --- fetchmail.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fetchmail.c') 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 */ -- cgit v1.2.3