From: hniksic Date: Sun, 21 Apr 2002 02:15:11 +0000 (-0700) Subject: [svn] Revert order of check number 6 in download_child_p for clarity. X-Git-Tag: v1.13~1772 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=bf018d5721b3909fdf7e15dc8f7db16bf31e6626 [svn] Revert order of check number 6 in download_child_p for clarity. --- diff --git a/src/ChangeLog b/src/ChangeLog index 9573ba32..68c2ae59 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-04-21 Hrvoje Niksic + + * recur.c (download_child_p): Revert order of items in check + number 6 for clarity. + 2002-04-20 Hrvoje Niksic * init.c: Ditto. diff --git a/src/recur.c b/src/recur.c index 7f2b5549..849f9a7a 100644 --- a/src/recur.c +++ b/src/recur.c @@ -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)) {