diff options
author | Pavel Březina <pbrezina@redhat.com> | 2015-02-13 13:49:17 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-03-08 22:27:10 +0100 |
commit | a849d848d53f305a90613a74c1767a42b250deda (patch) | |
tree | d959733f09e2a5ab73f81825cc3155c90136e296 /src/providers/ipa/ipa_id.c | |
parent | b0d3164ca2bd842e176268c26935c5ce54f7f76e (diff) | |
download | sssd-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/ipa/ipa_id.c')
-rw-r--r-- | src/providers/ipa/ipa_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_id.c b/src/providers/ipa/ipa_id.c index e975c676a..dcfa2b648 100644 --- a/src/providers/ipa/ipa_id.c +++ b/src/providers/ipa/ipa_id.c @@ -743,7 +743,7 @@ static errno_t ipa_id_get_account_info_get_original_step(struct tevent_req *req, struct ipa_id_get_account_info_state); struct tevent_req *subreq; - subreq = sdap_handle_acct_req_send(state, state->be_req, ar, + subreq = sdap_handle_acct_req_send(state, state->ctx->be, ar, state->ipa_ctx->sdap_id_ctx, state->ipa_ctx->sdap_id_ctx->opts->sdom, state->ipa_ctx->sdap_id_ctx->conn, true); |