summaryrefslogtreecommitdiff
path: root/src/providers/ipa/ipa_subdomains.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.c')
-rw-r--r--src/providers/ipa/ipa_subdomains.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index 70806bb4..e234ca1b 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -928,9 +928,8 @@ static void ipa_subdom_online_cb(void *pvt)
ctx->disabled_until = 0;
- be_req = talloc_zero(NULL, struct be_req);
- be_req->be_ctx = ctx->be_ctx;
- be_req->fn = ipa_subdom_be_req_callback;
+ be_req = be_req_create(ctx, NULL, ctx->be_ctx,
+ ipa_subdom_be_req_callback, NULL);
ipa_subdomains_retrieve(ctx, be_req);