From: Micah Cowan Date: Sun, 27 Apr 2008 19:11:03 +0000 (-0700) Subject: Parse html from files when -r -nc is active. X-Git-Tag: v1.13~421^2~16 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=202caab4c273fc1a578973b050b8537c7ac5f36d Parse html from files when -r -nc is active. --- diff --git a/src/ChangeLog b/src/ChangeLog index 0b273f45..3f73d2b2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-04-27 Rabin Vincent + + * http.c (http_loop): Fix return for the case where we don't + download a file because of -nc. + 2008-04-27 Micah Cowan * url.c (path_simplify): Go back to allowing leading ".." in diff --git a/src/http.c b/src/http.c index b304af76..129359ca 100644 --- a/src/http.c +++ b/src/http.c @@ -2389,7 +2389,8 @@ File `%s' already there; not retrieving.\n\n"), if (has_html_suffix_p (hstat.local_file)) *dt |= TEXTHTML; - return RETRUNNEEDED; + ret = RETROK; + goto exit; } /* Reset the counter. */