From cbaba2f47da96c4191971bce86f03afb3f88864a Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 11 Jan 2013 18:13:36 -0500 Subject: Add be_req_get_data() helper funciton. In preparation for making struct be_req opaque. --- src/providers/ipa/ipa_hostid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/ipa/ipa_hostid.c') 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; -- cgit