summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_srvsvc.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-08 00:28:38 +0100
committerGünther Deschner <gd@samba.org>2008-03-08 00:28:38 +0100
commitc534eea8665a3b9341db967b7feb454177794d2a (patch)
tree4f7d2cfa274e4a24987e3c9c2b1c4492f2fe400e /source3/librpc/gen_ndr/cli_srvsvc.c
parenta97de32cb26971dc8136987ee90e31543ffb6ced (diff)
downloadsamba-c534eea8665a3b9341db967b7feb454177794d2a.tar.gz
samba-c534eea8665a3b9341db967b7feb454177794d2a.tar.bz2
samba-c534eea8665a3b9341db967b7feb454177794d2a.zip
Re-run make idl.
Guenther (This used to be commit 85007cf3f2e3df67c524cc67442396c114f6b784)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_srvsvc.c')
-rw-r--r--source3/librpc/gen_ndr/cli_srvsvc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/librpc/gen_ndr/cli_srvsvc.c b/source3/librpc/gen_ndr/cli_srvsvc.c
index 02c11aba37..2b61fb858e 100644
--- a/source3/librpc/gen_ndr/cli_srvsvc.c
+++ b/source3/librpc/gen_ndr/cli_srvsvc.c
@@ -2040,7 +2040,7 @@ NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli,
const char *share,
const char *file,
uint32_t securityinformation,
- struct sec_desc_buf *sd_buf,
+ struct sec_desc_buf **sd_buf,
WERROR *werror)
{
struct srvsvc_NetGetFileSecurity r;
@@ -2076,9 +2076,7 @@ NTSTATUS rpccli_srvsvc_NetGetFileSecurity(struct rpc_pipe_client *cli,
}
/* Return variables */
- if (sd_buf && r.out.sd_buf) {
- *sd_buf = *r.out.sd_buf;
- }
+ *sd_buf = *r.out.sd_buf;
/* Return result */
if (werror) {
@@ -2094,7 +2092,7 @@ NTSTATUS rpccli_srvsvc_NetSetFileSecurity(struct rpc_pipe_client *cli,
const char *share,
const char *file,
uint32_t securityinformation,
- struct sec_desc_buf sd_buf,
+ struct sec_desc_buf *sd_buf,
WERROR *werror)
{
struct srvsvc_NetSetFileSecurity r;