s4:rpc_server/lsa: rename 'state' variable to 'policy_state' in dcesrv_lsa_LookupSids2()
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Jan 2018 08:27:49 +0000 (09:27 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 21 Feb 2018 13:19:18 +0000 (14:19 +0100)
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>
source4/rpc_server/lsa/lsa_lookup.c

index 378aff055e853fe2e74a70d6b0bb0382b563b679..65c664ebfb8d670d1fc4baad3258c8e92656f24e 100644 (file)
@@ -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);
 }