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/ad | |
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/ad')
-rw-r--r-- | src/providers/ad/ad_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ad/ad_id.c b/src/providers/ad/ad_id.c index 995a71277..ab3934727 100644 --- a/src/providers/ad/ad_id.c +++ b/src/providers/ad/ad_id.c @@ -120,7 +120,7 @@ ad_handle_acct_info_step(struct tevent_req *req) noexist_delete = true; } - subreq = sdap_handle_acct_req_send(state, state->breq, + subreq = sdap_handle_acct_req_send(state, state->ctx->be, state->ar, state->ctx, state->sdom, state->conn[state->cindex], |