From: Stefan Metzmacher Date: Mon, 22 Jan 2018 08:27:49 +0000 (+0100) Subject: s4:rpc_server/lsa: rename 'state' variable to 'policy_state' in dcesrv_lsa_LookupSids2() X-Git-Tag: tevent-0.9.36~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c78c17dc2fbaf523d1957bb748aa75ecd81e793b;p=thirdparty%2Fsamba.git 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 Reviewed-by: Ralph Boehme --- 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); }