summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_winreg.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-28 13:09:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:10 -0500
commitf1d492d11f4da7bbff883fefc3d8fcb71f08f67b (patch)
treefab610f3306c1c7ae3b8f88b603dfc1cdf3235f9 /source3/librpc/gen_ndr/cli_winreg.c
parent7ef185fae7fc43b566dedb267023cf8d346baee2 (diff)
downloadsamba-f1d492d11f4da7bbff883fefc3d8fcb71f08f67b.tar.gz
samba-f1d492d11f4da7bbff883fefc3d8fcb71f08f67b.tar.bz2
samba-f1d492d11f4da7bbff883fefc3d8fcb71f08f67b.zip
r19930: Revert the winreg idl changes. At least enumkey does not work anymore today.
With more than 5 different trees I can't swear that I did test this properly yesterday. Sorry for the noise. Volker (This used to be commit 978a6196bf0a2280c7f74b4a6d9fa7941c3aa049)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_winreg.c')
-rw-r--r--source3/librpc/gen_ndr/cli_winreg.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/librpc/gen_ndr/cli_winreg.c b/source3/librpc/gen_ndr/cli_winreg.c
index b11000bd7e..7ace36ca52 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);
@@ -306,8 +306,8 @@ NTSTATUS rpccli_winreg_EnumKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r.in.handle = handle;
r.in.enum_index = enum_index;
r.in.name = name;
- r.in.keyclass = keyclass;
- r.in.last_changed_time = last_changed_time;
+ r.in.keyclass = *keyclass;
+ r.in.last_changed_time = *last_changed_time;
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(winreg_EnumKey, &r);
@@ -327,8 +327,8 @@ NTSTATUS rpccli_winreg_EnumKey(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
/* Return variables */
*name = *r.out.name;
- *keyclass = *r.out.keyclass;
- *last_changed_time = *r.out.last_changed_time;
+ *keyclass = r.out.keyclass;
+ *last_changed_time = r.out.last_changed_time;
/* Return result */
return werror_to_ntstatus(r.out.result);