mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Remove needless level of indentation.
This commit is contained in:
parent
29a66192cf
commit
d4b0486cc4
35
src/recur.c
35
src/recur.c
@ -508,25 +508,22 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 6. */
|
/* 6. Check for acceptance/rejection rules. We ignore these rules
|
||||||
{
|
for directories (no file name to match) and for HTML documents,
|
||||||
/* Check for acceptance/rejection rules. We ignore these rules
|
which might lead to other files that do need to be downloaded.
|
||||||
for directories (no file name to match) and for HTML documents,
|
That is, unless we've exhausted the recursion depth anyway. */
|
||||||
which might lead to other files that do need to be downloaded.
|
if (u->file[0] != '\0'
|
||||||
That is, unless we've exhausted the recursion depth anyway. */
|
&& !(has_html_suffix_p (u->file)
|
||||||
if (u->file[0] != '\0'
|
&& depth < opt.reclevel - 1
|
||||||
&& !(has_html_suffix_p (u->file)
|
&& depth != INFINITE_RECURSION))
|
||||||
&& depth < opt.reclevel - 1
|
{
|
||||||
&& depth != INFINITE_RECURSION))
|
if (!acceptable (u->file))
|
||||||
{
|
{
|
||||||
if (!acceptable (u->file))
|
DEBUGP (("%s (%s) does not match acc/rej rules.\n",
|
||||||
{
|
url, u->file));
|
||||||
DEBUGP (("%s (%s) does not match acc/rej rules.\n",
|
goto out;
|
||||||
url, u->file));
|
}
|
||||||
goto out;
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 7. */
|
/* 7. */
|
||||||
if (u->scheme == parent->scheme)
|
if (u->scheme == parent->scheme)
|
||||||
|
Loading…
Reference in New Issue
Block a user