From: Giuseppe Scrivano Date: Sat, 6 Aug 2011 20:28:31 +0000 (+0200) Subject: Initialize show_all_dns_entries to false. X-Git-Tag: v1.13~2 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=aed17cca1419aca96201390559554fb53a358374 Initialize show_all_dns_entries to false. --- diff --git a/src/ChangeLog b/src/ChangeLog index c96da022..1b42b020 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-08-06 Giuseppe Scrivano + * init.c (defaults): Set default value for show_all_dns_entries. + * host.c (lookup_host): If `showalldnsentries' is used then print all the IP corresponding to a DNS entry. * init.c (commands): Add `showalldnsentries'. diff --git a/src/init.c b/src/init.c index 8f44cdb4..dca24a9f 100644 --- a/src/init.c +++ b/src/init.c @@ -360,6 +360,7 @@ defaults (void) opt.encoding_remote = NULL; opt.useservertimestamps = true; + opt.show_all_dns_entries = false; } /* Return the user's home directory (strdup-ed), or NULL if none is