X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Frecur.c;h=d32a1b389f24144119a550809a32eab995acc621;hp=edf34d42525cbe39b269f1440e9454cbe58fab11;hb=85dd2f7ce2ab7261d6ac9474fc48d8db0c8cfbaa;hpb=e1fc2057c7cb9cfc559dfbab44c96a9739e3328c diff --git a/src/recur.c b/src/recur.c index edf34d42..d32a1b38 100644 --- a/src/recur.c +++ b/src/recur.c @@ -526,11 +526,13 @@ download_child_p (const struct urlpos *upos, struct url *parent, int depth, More time- and memory- consuming tests should be put later on the list. */ +#ifdef HAVE_SSL if (opt.https_only && u->scheme != SCHEME_HTTPS) { DEBUGP (("Not following non-HTTPS links.\n")); goto out; } +#endif /* Determine whether URL under consideration has a HTTP-like scheme. */ u_scheme_like_http = schemes_are_similar_p (u->scheme, SCHEME_HTTP);