]> sjero.net Git - wget/blobdiff - src/recur.c
[svn] Revert order of check number 6 in download_child_p for clarity.
[wget] / src / recur.c
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))
        {