X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fhttp.c;h=faeb0e7fd345cbe94826445e27f9fe18bff819f4;hb=4d7c5e087b2bc82c9f503dff003916d1047903ce;hp=1ec42d2891e6668c0bd2e73a2a169aa5163e66d8;hpb=a83387134c2fbbe8fb78f5d612705e3e11c95567;p=wget diff --git a/src/http.c b/src/http.c index 1ec42d28..faeb0e7f 100644 --- a/src/http.c +++ b/src/http.c @@ -5,7 +5,7 @@ This file is part of GNU Wget. GNU Wget is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or +the Free Software Foundation; either version 3 of the License, or (at your option) any later version. GNU Wget is distributed in the hope that it will be useful, @@ -14,8 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Wget; if not, write to the Free Software Foundation, Inc., -51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +along with Wget. If not, see . In addition, as a special exception, the Free Software Foundation gives permission to link the code of its release of Wget with the @@ -2343,8 +2342,7 @@ Spider mode enabled. Check if remote file exists.\n")); /* Default document type is empty. However, if spider mode is on or time-stamping is employed, HEAD_ONLY commands is encoded within *dt. */ - if (((opt.spider || opt.timestamping) && !got_head) - || (opt.always_rest && !got_name)) + if (((opt.spider || opt.timestamping) && !got_head) || !got_name) *dt |= HEAD_ONLY; else *dt &= ~HEAD_ONLY;