]> sjero.net Git - wget/blobdiff - src/http.c
Fix gethttp returning RETROK, which caused abortion.
[wget] / src / http.c
index 6dd5158c82a2c460e7afa95aebfb5b2d076f2a72..5b9e8bbfc617ee23cddd676e16beb5c067f7443e 100644 (file)
@@ -1,5 +1,6 @@
 /* HTTP support.
-   Copyright (C) 1996-2006 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
+   2004, 2005, 2006, 2007 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -1820,7 +1821,7 @@ File `%s' already there; not retrieving.\n\n"), hs->local_file);
           if (has_html_suffix_p (hs->local_file))
             *dt |= TEXTHTML;
 
-          return RETROK;
+          return RETRUNNEEDED;
         }
       else if (!ALLOW_CLOBBER)
         {