X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Finit.c;h=db67868cd9f4972a4b9d45c3107072a871460f3b;hb=b5c9573ad6396acf3e4e33d0ae0db65b413b0d66;hp=c04414a3b2fb63f66c6eaae590ed678fb8e11172;hpb=1f08245076f245547b00b1a6cc2dff0198c1dfab;p=wget diff --git a/src/init.c b/src/init.c index c04414a3..db67868c 100644 --- a/src/init.c +++ b/src/init.c @@ -1,6 +1,6 @@ /* Reading/parsing the initialization file. - Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, + 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -197,7 +197,6 @@ static const struct { { "localencoding", &opt.locale, cmd_string }, { "logfile", &opt.lfilename, cmd_file }, { "login", &opt.ftp_user, cmd_string },/* deprecated*/ - { "matchservertimestamps", &opt.matchservertimestamps, cmd_boolean }, { "maxredirect", &opt.max_redirect, cmd_number }, { "mirror", NULL, cmd_spec_mirror }, { "netrc", &opt.netrc, cmd_boolean }, @@ -253,9 +252,12 @@ static const struct { { "timeout", NULL, cmd_spec_timeout }, { "timestamping", &opt.timestamping, cmd_boolean }, { "tries", &opt.ntry, cmd_number_inf }, + { "trustservernames", &opt.trustservernames, cmd_boolean }, + { "unlink", &opt.unlink, cmd_boolean }, { "useproxy", &opt.use_proxy, cmd_boolean }, { "user", &opt.user, cmd_string }, { "useragent", NULL, cmd_spec_useragent }, + { "useservertimestamps", &opt.useservertimestamps, cmd_boolean }, { "verbose", NULL, cmd_spec_verbose }, { "wait", &opt.wait, cmd_time }, { "waitretry", &opt.waitretry, cmd_time }, @@ -355,7 +357,7 @@ defaults (void) opt.locale = NULL; opt.encoding_remote = NULL; - opt.matchservertimestamps = true; + opt.useservertimestamps = true; } /* Return the user's home directory (strdup-ed), or NULL if none is