X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=d24db5fc38f3393ef6937c32e1ba03e3e6eba24b;hp=311cb97289537c3bf10e3435f69a536acf88bb16;hb=9dadbf6fe9577a6a6b7e7bab4e4b782fc1a6f86c;hpb=c784c334d3ddaeb6c628931eca87056e152181fe;ds=sidebyside diff --git a/src/http.c b/src/http.c index 311cb972..d24db5fc 100644 --- a/src/http.c +++ b/src/http.c @@ -2175,10 +2175,10 @@ File %s already there; not retrieving.\n\n"), quote (hs->local_file)); else *dt &= ~TEXTCSS; - if (opt.html_extension) + if (opt.adjust_extension) { if (*dt & TEXTHTML) - /* -E / --html-extension / html_extension = on was specified, + /* -E / --adjust-extension / adjust_extension = on was specified, and this is a text/html file. If some case-insensitive variation on ".htm[l]" isn't already the file's suffix, tack on ".html". */