summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_hostid.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-11 18:13:36 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-21 22:17:34 +0100
commitcbaba2f47da96c4191971bce86f03afb3f88864a (patch)
treea599a9c3680e4476d975ea42ca163716f1ee327b /src/providers/ipa/ipa_hostid.c
parent03abdaa21ecf562b714f204ca42379ff08626f75 (diff)
downloadsssd-cbaba2f47da96c4191971bce86f03afb3f88864a.tar.gz
sssd-cbaba2f47da96c4191971bce86f03afb3f88864a.tar.xz
sssd-cbaba2f47da96c4191971bce86f03afb3f88864a.zip
Add be_req_get_data() helper funciton.
In preparation for making struct be_req opaque.
Diffstat (limited to 'src/providers/ipa/ipa_hostid.c')
-rw-r--r--src/providers/ipa/ipa_hostid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_hostid.c b/src/providers/ipa/ipa_hostid.c
index 448914ba8..cb37e9a4d 100644
--- a/src/providers/ipa/ipa_hostid.c
+++ b/src/providers/ipa/ipa_hostid.c
@@ -75,7 +75,7 @@ ipa_host_info_handler(struct be_req *breq)
goto done;
}
- hr = talloc_get_type(breq->req_data, struct be_host_req);
+ hr = talloc_get_type(be_req_get_data(breq), struct be_host_req);
if (hr->filter_type != BE_FILTER_NAME) {
ret = EINVAL;