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. */
|
||||
{
|
||||
/* Check for acceptance/rejection rules. We ignore these rules
|
||||
for directories (no file name to match) and for HTML documents,
|
||||
which might lead to other files that do need to be downloaded.
|
||||
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))
|
||||
{
|
||||
if (!acceptable (u->file))
|
||||
{
|
||||
DEBUGP (("%s (%s) does not match acc/rej rules.\n",
|
||||
url, u->file));
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
}
|
||||
/* 6. Check for acceptance/rejection rules. We ignore these rules
|
||||
for directories (no file name to match) and for HTML documents,
|
||||
which might lead to other files that do need to be downloaded.
|
||||
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))
|
||||
{
|
||||
if (!acceptable (u->file))
|
||||
{
|
||||
DEBUGP (("%s (%s) does not match acc/rej rules.\n",
|
||||
url, u->file));
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
|
||||
/* 7. */
|
||||
if (u->scheme == parent->scheme)
|
||||
|
Loading…
Reference in New Issue
Block a user