1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Initialize show_all_dns_entries to false.

This commit is contained in:
Giuseppe Scrivano 2011-08-06 22:28:31 +02:00
parent ac0eac7c98
commit aed17cca14
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2011-08-06 Giuseppe Scrivano <gscrivano@gnu.org> 2011-08-06 Giuseppe Scrivano <gscrivano@gnu.org>
* init.c (defaults): Set default value for show_all_dns_entries.
* host.c (lookup_host): If `showalldnsentries' is used then print all * host.c (lookup_host): If `showalldnsentries' is used then print all
the IP corresponding to a DNS entry. the IP corresponding to a DNS entry.
* init.c (commands): Add `showalldnsentries'. * init.c (commands): Add `showalldnsentries'.

View File

@ -360,6 +360,7 @@ defaults (void)
opt.encoding_remote = NULL; opt.encoding_remote = NULL;
opt.useservertimestamps = true; opt.useservertimestamps = true;
opt.show_all_dns_entries = false;
} }
/* Return the user's home directory (strdup-ed), or NULL if none is /* Return the user's home directory (strdup-ed), or NULL if none is