This commit is contained in:
Willem Toorop 2015-09-04 11:02:39 +02:00
parent b7b90cafaf
commit 75f1aa6ccd
1 changed files with 1 additions and 1 deletions

View File

@ -1106,7 +1106,7 @@ rebuild_ub_ctx(struct getdns_context* context) {
} }
/* setup */ /* setup */
context->unbound_ctx = ub_ctx_create(); context->unbound_ctx = ub_ctx_create();
(void) ub_ctx_async(context->unbound_ctx, 1) (void) ub_ctx_async(context->unbound_ctx, 1);
context->unbound_ta_set = 0; context->unbound_ta_set = 0;
if (!context->unbound_ctx) { if (!context->unbound_ctx) {
return GETDNS_RETURN_MEMORY_ERROR; return GETDNS_RETURN_MEMORY_ERROR;