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. */