ub_setup_recursing not used without libunbound

This commit is contained in:
Willem Toorop 2015-11-11 14:03:16 +01:00
parent f3f854b35f
commit 1bb2daff1e
1 changed files with 2 additions and 2 deletions

View File

@ -2176,13 +2176,12 @@ ub_setup_stub(struct ub_ctx *ctx, getdns_context *context)
#endif
#ifdef HAVE_LIBUNBOUND
static getdns_return_t
ub_setup_recursing(struct ub_ctx *ctx, getdns_context *context)
{
#ifdef HAVE_LIBUNBOUND
_getdns_rr_iter rr_spc, *rr;
char ta_str[8192];
#endif
/* TODO: use the root servers via root hints file */
(void) ub_ctx_set_fwd(ctx, NULL);
@ -2200,6 +2199,7 @@ ub_setup_recursing(struct ub_ctx *ctx, getdns_context *context)
}
return GETDNS_RETURN_GOOD;
}
#endif
static getdns_return_t
_getdns_ns_dns_setup(struct getdns_context *context)