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/ldap/ldap_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/ldap/ldap_id.c') diff --git a/src/providers/ldap/ldap_id.c b/src/providers/ldap/ldap_id.c index efa1769b..d24b8aa6 100644 --- a/src/providers/ldap/ldap_id.c +++ b/src/providers/ldap/ldap_id.c @@ -937,7 +937,7 @@ void sdap_handle_account_info(struct be_req *breq, struct sdap_id_ctx *ctx) return sdap_handler_done(breq, DP_ERR_OFFLINE, EAGAIN, "Offline"); } - ar = talloc_get_type(breq->req_data, struct be_acct_req); + ar = talloc_get_type(be_req_get_data(breq), struct be_acct_req); switch (ar->entry_type & BE_REQ_TYPE_MASK) { case BE_REQ_USER: /* user */ -- cgit