summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2015-02-13 13:49:17 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-03-08 22:27:10 +0100
commita849d848d53f305a90613a74c1767a42b250deda (patch)
treed959733f09e2a5ab73f81825cc3155c90136e296 /src/providers/ldap/ldap_common.h
parentb0d3164ca2bd842e176268c26935c5ce54f7f76e (diff)
downloadsssd-a849d848d53f305a90613a74c1767a42b250deda.tar.gz
sssd-a849d848d53f305a90613a74c1767a42b250deda.tar.xz
sssd-a849d848d53f305a90613a74c1767a42b250deda.zip
sdap_handle_acct_req_send: remove be_req
be_req was used only as a talloc context for subreq. This memory context was replace by state of the parent request which is more suitable for tevent coding style. This change will allow us to use this function in be_refresh where none be_req is available. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index c377b7c2a..f8b4e0142 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -104,7 +104,7 @@ int sdap_id_setup_tasks(struct be_ctx *be_ctx,
struct tevent_req *
sdap_handle_acct_req_send(TALLOC_CTX *mem_ctx,
- struct be_req *breq,
+ struct be_ctx *be_ctx,
struct be_acct_req *ar,
struct sdap_id_ctx *id_ctx,
struct sdap_domain *sdom,