summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_subdomains.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-09 16:39:42 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-21 22:17:33 +0100
commit24b715f096613d18f182cf0fff537e1fc79647fa (patch)
tree69559d58896dcfa37aabffd6683038781ba657a8 /src/providers/ipa/ipa_subdomains.c
parentdf0596ec12bc5091608371e2977f3111241e8caf (diff)
downloadsssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.gz
sssd-24b715f096613d18f182cf0fff537e1fc79647fa.tar.xz
sssd-24b715f096613d18f182cf0fff537e1fc79647fa.zip
Remove sysdb as a be request structure member
The sysdb context is already available through the 'domain' context.
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.c')
-rw-r--r--src/providers/ipa/ipa_subdomains.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index 7c3ad494a..0ea3f0456 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -693,8 +693,8 @@ static void ipa_subdomains_handler_done(struct tevent_req *req)
ctx = tevent_req_callback_data(req, struct ipa_subdomains_req_ctx);
be_req = ctx->be_req;
- if (be_req && be_req->sysdb) {
- sysdb = be_req->sysdb;
+ if (be_req && be_req->domain) {
+ sysdb = be_req->domain->sysdb;
domain = be_req->domain;
} else {
sysdb = ctx->sd_ctx->be_ctx->domain->sysdb;
@@ -786,8 +786,8 @@ static void ipa_subdomains_handler_ranges_done(struct tevent_req *req)
ctx = tevent_req_callback_data(req, struct ipa_subdomains_req_ctx);
be_req = ctx->be_req;
- if (be_req && be_req->sysdb) {
- sysdb = be_req->sysdb;
+ if (be_req && be_req->domain) {
+ sysdb = be_req->domain->sysdb;
domain = be_req->domain;
} else {
sysdb = ctx->sd_ctx->be_ctx->domain->sysdb;