make rpccli_lsa_close() a real one line wrapper for
rpccli_lsa_Close().
I'm still keeping the wrapper for now because I'm not sure
what we will do about a usable client API. I don't think
calling the autogenerated client code directly is a good idea
as the IDL is still evolving.
NTSTATUS rpccli_lsa_close(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
POLICY_HND *pol)
{
- struct policy_handle policy;
-
- if ( !pol )
- return NT_STATUS_NO_MEMORY;
-
- memcpy( &policy, pol, sizeof(policy) );
-
- return rpccli_lsa_Close( cli, mem_ctx, &policy );
+ return rpccli_lsa_Close( cli, mem_ctx, pol);
}
/** Lookup a list of sids */