1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Revert order of check number 6 in download_child_p for clarity.

This commit is contained in:
hniksic 2002-04-20 19:15:11 -07:00
parent d4b0486cc4
commit bf018d5721
2 changed files with 7 additions and 2 deletions

View 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> 2002-04-20 Hrvoje Niksic <hniksic@arsdigita.com>
* init.c: Ditto. * init.c: Ditto.

View 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. */ That is, unless we've exhausted the recursion depth anyway. */
if (u->file[0] != '\0' if (u->file[0] != '\0'
&& !(has_html_suffix_p (u->file) && !(has_html_suffix_p (u->file)
&& depth < opt.reclevel - 1 && depth != INFINITE_RECURSION
&& depth != INFINITE_RECURSION)) && depth < opt.reclevel - 1))
{ {
if (!acceptable (u->file)) if (!acceptable (u->file))
{ {