summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_reg.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-16 20:59:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:18 -0500
commitb2db8a9bd3aad8e56ab4d95b05d2db7773057e8b (patch)
treed6bdf9c295b0f64c904194572415b89becec8e95 /source3/rpc_client/cli_reg.c
parent17eb05228ee93c9790a0bacbfb0e5e282aa180d2 (diff)
downloadsamba-b2db8a9bd3aad8e56ab4d95b05d2db7773057e8b.tar.gz
samba-b2db8a9bd3aad8e56ab4d95b05d2db7773057e8b.tar.bz2
samba-b2db8a9bd3aad8e56ab4d95b05d2db7773057e8b.zip
r7649: * fix compile breakage (sorry, should have done a make clean before the
last checking). * rename unknown field in REG_GETVERSION * add server stubs for RegDeleteKey() and RegDeleteValue() (This used to be commit 023728c0595eaef60e357d32a25e2c4cee9e21f4)
Diffstat (limited to 'source3/rpc_client/cli_reg.c')
-rw-r--r--source3/rpc_client/cli_reg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index d152aeecf1..9d7b909d0d 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/rpc_client/cli_reg.c
@@ -256,7 +256,7 @@ WERROR cli_reg_query_key(struct cli_state *cli, TALLOC_CTX *mem_ctx,
****************************************************************************/
WERROR cli_reg_getversion(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *hnd, uint32 *unk)
+ POLICY_HND *hnd, uint32 *version)
{
REG_Q_GETVERSION in;
REG_R_GETVERSION out;
@@ -278,7 +278,7 @@ WERROR cli_reg_getversion(struct cli_state *cli, TALLOC_CTX *mem_ctx,
if ( !W_ERROR_IS_OK( out.status ) )
return out.status;
- *unk = out.unknown;
+ *version = out.win_version;
return out.status;
}
@@ -403,8 +403,8 @@ WERROR cli_reg_delete_val(struct cli_state *cli, TALLOC_CTX *mem_ctx,
CLI_DO_RPC( cli, mem_ctx, PI_WINREG, REG_DELETE_VALUE,
in, out,
qbuf, rbuf,
- reg_io_q_delete_val,
- reg_io_r_delete_val,
+ reg_io_q_delete_value,
+ reg_io_r_delete_value,
WERR_GENERAL_FAILURE );
return out.status;