]> sjero.net Git - wget/commitdiff
Parse html from files when -r -nc is active.
authorMicah Cowan <micah@cowan.name>
Sun, 27 Apr 2008 19:11:03 +0000 (12:11 -0700)
committerMicah Cowan <micah@cowan.name>
Sun, 27 Apr 2008 19:11:03 +0000 (12:11 -0700)
src/ChangeLog
src/http.c

index 0b273f4568c86def9097da9395e4686047e4eb54..3f73d2b21aa80780ccce4ed4f660132d51051ebe 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-27  Rabin Vincent  <rabin@rab.in>
+
+       * http.c (http_loop): Fix return for the case where we don't
+       download a file because of -nc.
+
 2008-04-27  Micah Cowan  <micah@cowan.name>
 
        * url.c (path_simplify): Go back to allowing leading ".." in
index b304af76cde67c48ac3b05c864f56c4fd6b406e0..129359cad47e183a01d89ae1aeb25b32b0a6ee3e 100644 (file)
@@ -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. */