From a6ddf9bf5d2258a26f6cb5d1913ebc949678f216 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 20 Sep 2006 15:58:48 +0000 Subject: r18711: Replace the following hand code client routines: * rpccli_reg_abort_shutdown() * rpccli_reg_flush_key() Remove the cmd_reg.c from rpcclient since the entire file was unused (This used to be commit c4788f0c1398feb098f131aa5c4d0398d7489527) --- source3/libmsrpc/cac_winreg.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/libmsrpc') diff --git a/source3/libmsrpc/cac_winreg.c b/source3/libmsrpc/cac_winreg.c index aa20dcff8c..df3bbe154a 100644 --- a/source3/libmsrpc/cac_winreg.c +++ b/source3/libmsrpc/cac_winreg.c @@ -393,7 +393,7 @@ WERROR cac_delete_subkeys_recursive(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX break; /*flush the key just to be safe*/ - rpccli_reg_flush_key(pipe_hnd, mem_ctx, key); + rpccli_winreg_FlushKey(pipe_hnd, mem_ctx, key); /*close the key that we opened*/ rpccli_reg_close(pipe_hnd, mem_ctx, &subkey); @@ -778,8 +778,7 @@ int cac_RegSetValue(CacServerHandle *hnd, TALLOC_CTX *mem_ctx, struct RegSetValu return CAC_FAILURE; /*flush*/ - err = rpccli_reg_flush_key(pipe_hnd, mem_ctx, op->in.key); - hnd->status = werror_to_ntstatus(err); + hnd->status = rpccli_winreg_FlushKey(pipe_hnd, mem_ctx, op->in.key); if(!NT_STATUS_IS_OK(hnd->status)) return CAC_FAILURE; -- cgit