mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
fix --without-ssl compile error
This commit is contained in:
parent
e1fc2057c7
commit
85dd2f7ce2
@ -1,3 +1,8 @@
|
|||||||
|
2013-09-13 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
|
* recur.c (download_child_p): fix compile error when
|
||||||
|
configured using --without-ssl.
|
||||||
|
|
||||||
2013-09-07 Tim Ruehsen <tim.ruehsen@gmx.de>
|
2013-09-07 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* gnutls.c (ssl_connect_wget): use gnutls_check_version()
|
* gnutls.c (ssl_connect_wget): use gnutls_check_version()
|
||||||
|
@ -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
|
More time- and memory- consuming tests should be put later on
|
||||||
the list. */
|
the list. */
|
||||||
|
|
||||||
|
#ifdef HAVE_SSL
|
||||||
if (opt.https_only && u->scheme != SCHEME_HTTPS)
|
if (opt.https_only && u->scheme != SCHEME_HTTPS)
|
||||||
{
|
{
|
||||||
DEBUGP (("Not following non-HTTPS links.\n"));
|
DEBUGP (("Not following non-HTTPS links.\n"));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Determine whether URL under consideration has a HTTP-like scheme. */
|
/* Determine whether URL under consideration has a HTTP-like scheme. */
|
||||||
u_scheme_like_http = schemes_are_similar_p (u->scheme, SCHEME_HTTP);
|
u_scheme_like_http = schemes_are_similar_p (u->scheme, SCHEME_HTTP);
|
||||||
|
Loading…
Reference in New Issue
Block a user