mirror of
https://github.com/mirror/wget.git
synced 2025-01-22 10:10:27 +08:00
[svn] Indentation change.
This commit is contained in:
parent
91a190a770
commit
6fe9ec9f16
15
src/recur.c
15
src/recur.c
@ -448,7 +448,7 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
|
||||
/* 1. Schemes other than HTTP are normally not recursed into. */
|
||||
if (u->scheme != SCHEME_HTTP
|
||||
#ifdef HAVE_SSL
|
||||
&& u->scheme != SCHEME_HTTPS
|
||||
&& u->scheme != SCHEME_HTTPS
|
||||
#endif
|
||||
&& !(u->scheme == SCHEME_FTP && opt.follow_ftp))
|
||||
{
|
||||
@ -460,9 +460,9 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
|
||||
out. */
|
||||
if (u->scheme == SCHEME_HTTP
|
||||
#ifdef HAVE_SSL
|
||||
|| u->scheme == SCHEME_HTTPS
|
||||
|| u->scheme == SCHEME_HTTPS
|
||||
#endif
|
||||
)
|
||||
)
|
||||
if (opt.relative_only && !upos->link_relative_p)
|
||||
{
|
||||
DEBUGP (("It doesn't really look like a relative link.\n"));
|
||||
@ -535,12 +535,13 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth,
|
||||
}
|
||||
|
||||
/* 8. */
|
||||
if (opt.use_robots && (u->scheme == SCHEME_HTTP
|
||||
if (opt.use_robots
|
||||
&& (u->scheme == SCHEME_HTTP
|
||||
#ifdef HAVE_SSL
|
||||
|| u->scheme == SCHEME_HTTPS
|
||||
|| u->scheme == SCHEME_HTTPS
|
||||
#endif
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
{
|
||||
struct robot_specs *specs = res_get_specs (u->host, u->port);
|
||||
if (!specs)
|
||||
|
Loading…
Reference in New Issue
Block a user