diff options
author | Gerald Carter <jerry@samba.org> | 2007-05-31 17:24:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:01 -0500 |
commit | 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7 (patch) | |
tree | 750a324440a1c041819d0df051ff337caa59c6df /source/libmsrpc | |
parent | 92c505bf7f15a79c6e32a38b2d218f65b0283507 (diff) | |
download | samba-0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7.tar.gz samba-0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7.tar.xz samba-0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7.zip |
r23271: merge service control pidl change for CloseServiceHandle() from SAMBA_3_0_26
Diffstat (limited to 'source/libmsrpc')
-rw-r--r-- | source/libmsrpc/cac_svcctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/libmsrpc/cac_svcctl.c b/source/libmsrpc/cac_svcctl.c index 3d3034df15c..71cdfba73e4 100644 --- a/source/libmsrpc/cac_svcctl.c +++ b/source/libmsrpc/cac_svcctl.c @@ -91,7 +91,6 @@ int cac_SvcClose( CacServerHandle * hnd, TALLOC_CTX * mem_ctx, POLICY_HND * scm_hnd ) { struct rpc_pipe_client *pipe_hnd = NULL; - WERROR err; if ( !hnd ) return CAC_FAILURE; @@ -112,8 +111,7 @@ int cac_SvcClose( CacServerHandle * hnd, TALLOC_CTX * mem_ctx, return CAC_FAILURE; } - err = rpccli_svcctl_close_service( pipe_hnd, mem_ctx, scm_hnd ); - hnd->status = werror_to_ntstatus( err ); + hnd->status = rpccli_svcctl_CloseServiceHandle( pipe_hnd, mem_ctx, scm_hnd ); if ( !NT_STATUS_IS_OK( hnd->status ) ) return CAC_FAILURE; |