summaryrefslogtreecommitdiff
path: root/source3/libmsrpc
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-05-31 17:24:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:01 -0500
commitd99f4f004ca46e4c0f2e60a231a14708a128f0f2 (patch)
tree4a6cfa91d9ffbc137249260ace6f4a59525cfac6 /source3/libmsrpc
parenteec5e026adb176ad48b1ebcb0ddf71bbb609ad95 (diff)
downloadsamba-d99f4f004ca46e4c0f2e60a231a14708a128f0f2.tar.gz
samba-d99f4f004ca46e4c0f2e60a231a14708a128f0f2.tar.bz2
samba-d99f4f004ca46e4c0f2e60a231a14708a128f0f2.zip
r23271: merge service control pidl change for CloseServiceHandle() from SAMBA_3_0_26
(This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)
Diffstat (limited to 'source3/libmsrpc')
-rw-r--r--source3/libmsrpc/cac_svcctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/libmsrpc/cac_svcctl.c b/source3/libmsrpc/cac_svcctl.c
index 3d3034df15..71cdfba73e 100644
--- a/source3/libmsrpc/cac_svcctl.c
+++ b/source3/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;