summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_lsa.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-08 09:46:57 +0100
committerGünther Deschner <gd@samba.org>2008-02-08 09:48:21 +0100
commited43977f08491515a325e613c8e765c2abe69352 (patch)
tree2a7d7d213b3347f5ff04b7717aa3e9b67dd72250 /source3/librpc/gen_ndr/cli_lsa.c
parentab38d3dd44f3b9e84ccf03f5293e3f658c31afd2 (diff)
downloadsamba-ed43977f08491515a325e613c8e765c2abe69352.tar.gz
samba-ed43977f08491515a325e613c8e765c2abe69352.tar.bz2
samba-ed43977f08491515a325e613c8e765c2abe69352.zip
Re-run make idl.
Guenther (This used to be commit 0ee299f040f73fdbae4c1c89ab6de4904f1f0fac)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_lsa.c')
-rw-r--r--source3/librpc/gen_ndr/cli_lsa.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/source3/librpc/gen_ndr/cli_lsa.c b/source3/librpc/gen_ndr/cli_lsa.c
index 3599d9fe9c..5fc1592bb1 100644
--- a/source3/librpc/gen_ndr/cli_lsa.c
+++ b/source3/librpc/gen_ndr/cli_lsa.c
@@ -303,7 +303,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *handle,
enum lsa_PolicyInfo level,
- union lsa_PolicyInformation *info)
+ union lsa_PolicyInformation **info)
{
struct lsa_QueryInfoPolicy r;
NTSTATUS status;
@@ -336,9 +336,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy(struct rpc_pipe_client *cli,
}
/* Return variables */
- if (info && r.out.info) {
- *info = *r.out.info;
- }
+ *info = *r.out.info;
/* Return result */
return r.out.result;
@@ -2002,7 +2000,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *handle,
enum lsa_PolicyInfo level,
- union lsa_PolicyInformation *info)
+ union lsa_PolicyInformation **info)
{
struct lsa_QueryInfoPolicy2 r;
NTSTATUS status;
@@ -2035,9 +2033,7 @@ NTSTATUS rpccli_lsa_QueryInfoPolicy2(struct rpc_pipe_client *cli,
}
/* Return variables */
- if (info && r.out.info) {
- *info = *r.out.info;
- }
+ *info = *r.out.info;
/* Return result */
return r.out.result;