]> sjero.net Git - wget/commitdiff
[svn] Revert order of check number 6 in download_child_p for clarity.
authorhniksic <devnull@localhost>
Sun, 21 Apr 2002 02:15:11 +0000 (19:15 -0700)
committerhniksic <devnull@localhost>
Sun, 21 Apr 2002 02:15:11 +0000 (19:15 -0700)
src/ChangeLog
src/recur.c

index 9573ba32258ea3c8d47e12f579d313dd53ec28fa..68c2ae59d103e73efa18d0971017d76a84d05c52 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-21  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * recur.c (download_child_p): Revert order of items in check
+       number 6 for clarity.
+
 2002-04-20  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * init.c: Ditto.
index 7f2b55497f13a31868745559625524651fa4ae83..849f9a7abb6911782462b2d0e36167bc7abc97dc 100644 (file)
@@ -514,8 +514,8 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
      That is, unless we've exhausted the recursion depth anyway.  */
   if (u->file[0] != '\0'
       && !(has_html_suffix_p (u->file)
-          && depth < opt.reclevel - 1
-          && depth != INFINITE_RECURSION))
+          && depth != INFINITE_RECURSION
+          && depth < opt.reclevel - 1))
     {
       if (!acceptable (u->file))
        {