X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Finit.c;h=16a4d9d29438e1bd288bd36ca9903fb6dcce1b10;hp=c04414a3b2fb63f66c6eaae590ed678fb8e11172;hb=7585b7019d5909428a477002579366a507e42b58;hpb=cd4c4b63d4381209f5126baaf31ebde206b76a46 diff --git a/src/init.c b/src/init.c index c04414a3..16a4d9d2 100644 --- a/src/init.c +++ b/src/init.c @@ -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 }, @@ -256,6 +255,7 @@ static const struct { { "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 +355,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