From df0596ec12bc5091608371e2977f3111241e8caf Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 9 Jan 2013 16:23:25 -0500 Subject: Remove sysdb as a be context structure member The sysdb context is already available through the 'domain' structure. --- src/providers/ipa/ipa_subdomains.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/providers/ipa/ipa_subdomains.c') diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c index 3a91c5803..7c3ad494a 100644 --- a/src/providers/ipa/ipa_subdomains.c +++ b/src/providers/ipa/ipa_subdomains.c @@ -697,7 +697,7 @@ static void ipa_subdomains_handler_done(struct tevent_req *req) sysdb = be_req->sysdb; domain = be_req->domain; } else { - sysdb = ctx->sd_ctx->be_ctx->sysdb; + sysdb = ctx->sd_ctx->be_ctx->domain->sysdb; domain = ctx->sd_ctx->be_ctx->domain; } @@ -790,7 +790,7 @@ static void ipa_subdomains_handler_ranges_done(struct tevent_req *req) sysdb = be_req->sysdb; domain = be_req->domain; } else { - sysdb = ctx->sd_ctx->be_ctx->sysdb; + sysdb = ctx->sd_ctx->be_ctx->domain->sysdb; domain = ctx->sd_ctx->be_ctx->domain; } @@ -893,7 +893,7 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req) goto done; } - ret = sysdb_master_domain_add_info(ctx->sd_ctx->be_ctx->sysdb, + ret = sysdb_master_domain_add_info(ctx->sd_ctx->be_ctx->domain->sysdb, ctx->sd_ctx->be_ctx->domain, domain_info); goto done; -- cgit