summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_winreg.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-27 14:05:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:09 -0500
commit4a361ffd7f0b62f05e552c6da926881cd1f756a0 (patch)
treeef082a0ef289af6017a146eeb28d7d67eebe103b /source3/librpc/gen_ndr/cli_winreg.c
parent847644bdac520a3cca7f30ffa50c0de3eeedf6d9 (diff)
downloadsamba-4a361ffd7f0b62f05e552c6da926881cd1f756a0.tar.gz
samba-4a361ffd7f0b62f05e552c6da926881cd1f756a0.tar.bz2
samba-4a361ffd7f0b62f05e552c6da926881cd1f756a0.zip
r19918: Convert winreg_CreateKey to use a ref ** instead of a unique *. W2k3 can still
create keys on Samba and vice versa. Jelmer, please check. Thanks, Volker (This used to be commit 1b460d6cdfe0cadd915a5299e6ca9bb359bf0075)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_winreg.c')
-rw-r--r--source3/librpc/gen_ndr/cli_winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/cli_winreg.c b/source3/librpc/gen_ndr/cli_winreg.c
index 7ace36ca52..544e4ac029 100644
--- a/source3/librpc/gen_ndr/cli_winreg.c
+++ b/source3/librpc/gen_ndr/cli_winreg.c
@@ -209,7 +209,7 @@ NTSTATUS rpccli_winreg_CreateKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct
r.in.options = options;
r.in.access_mask = access_mask;
r.in.secdesc = secdesc;
- r.in.action_taken = *action_taken;
+ r.in.action_taken = action_taken;
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(winreg_CreateKey, &r);
@@ -229,7 +229,7 @@ NTSTATUS rpccli_winreg_CreateKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ct
/* Return variables */
*new_handle = *r.out.new_handle;
- *action_taken = r.out.action_taken;
+ *action_taken = *r.out.action_taken;
/* Return result */
return werror_to_ntstatus(r.out.result);