diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-01-22 09:27:49 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-02-27 16:00:12 +0100 |
commit | 7c8c5ed763eefe7a891fbc2a14ac7264cbbad6b4 (patch) | |
tree | 32849a17498bb4807a36e275671f70a62d17605e /source4/rpc_server | |
parent | 552b0f75d80db408d5a89ab59e213be58cf5eb29 (diff) | |
download | samba-7c8c5ed763eefe7a891fbc2a14ac7264cbbad6b4.tar.gz |
s4:rpc_server/lsa: rename 'state' variable to 'policy_state' in dcesrv_lsa_LookupSids2()
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13286
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit c78c17dc2fbaf523d1957bb748aa75ecd81e793b)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/lsa/lsa_lookup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/rpc_server/lsa/lsa_lookup.c b/source4/rpc_server/lsa/lsa_lookup.c index 378aff055e8..65c664ebfb8 100644 --- a/source4/rpc_server/lsa/lsa_lookup.c +++ b/source4/rpc_server/lsa/lsa_lookup.c @@ -684,20 +684,20 @@ NTSTATUS dcesrv_lsa_LookupSids2(struct dcesrv_call_state *dce_call, { enum dcerpc_transport_t transport = dcerpc_binding_get_transport(dce_call->conn->endpoint->ep_description); - struct lsa_policy_state *state; - struct dcesrv_handle *h; + struct lsa_policy_state *policy_state = NULL; + struct dcesrv_handle *policy_handle = NULL; if (transport != NCACN_NP && transport != NCALRPC) { DCESRV_FAULT(DCERPC_FAULT_ACCESS_DENIED); } - DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); + DCESRV_PULL_HANDLE(policy_handle, r->in.handle, LSA_HANDLE_POLICY); - state = h->data; + policy_state = policy_handle->data; return dcesrv_lsa_LookupSids_common(dce_call, mem_ctx, - state, + policy_state, r); } |