From b2db8a9bd3aad8e56ab4d95b05d2db7773057e8b Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 16 Jun 2005 20:59:39 +0000 Subject: 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) --- source3/rpc_client/cli_reg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/rpc_client/cli_reg.c') 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; -- cgit