diff options
author | Gerald Carter <jerry@samba.org> | 2006-09-20 15:58:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:00:51 -0500 |
commit | a6ddf9bf5d2258a26f6cb5d1913ebc949678f216 (patch) | |
tree | 87429683542f8aa72cf793627fc3ddaed8566713 /source3/libmsrpc | |
parent | c4046b0e883de51d211a83adcc08b7497237dc6e (diff) | |
download | samba-a6ddf9bf5d2258a26f6cb5d1913ebc949678f216.tar.gz samba-a6ddf9bf5d2258a26f6cb5d1913ebc949678f216.tar.bz2 samba-a6ddf9bf5d2258a26f6cb5d1913ebc949678f216.zip |
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)
Diffstat (limited to 'source3/libmsrpc')
-rw-r--r-- | source3/libmsrpc/cac_winreg.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; |