From 202caab4c273fc1a578973b050b8537c7ac5f36d Mon Sep 17 00:00:00 2001 From: Micah Cowan Date: Sun, 27 Apr 2008 12:11:03 -0700 Subject: [PATCH] Parse html from files when -r -nc is active. --- src/ChangeLog | 5 +++++ src/http.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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. */ -- 2.39.2