From 85dd2f7ce2ab7261d6ac9474fc48d8db0c8cfbaa Mon Sep 17 00:00:00 2001 From: Tim Ruehsen Date: Fri, 13 Sep 2013 11:21:38 +0200 Subject: [PATCH] fix --without-ssl compile error --- src/ChangeLog | 5 +++++ src/recur.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 787c9c60..43997f88 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-09-13 Tim Ruehsen + + * recur.c (download_child_p): fix compile error when + configured using --without-ssl. + 2013-09-07 Tim Ruehsen * gnutls.c (ssl_connect_wget): use gnutls_check_version() 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); -- 2.39.2