summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-20 17:59:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:52 -0500
commit8a1439b10de61d78a73ddd085da1edf87bb9e40e (patch)
tree43624109140f875aefa8678196068081b551627b
parent9dda6cdf4c3034620b90bb418bfaebeabb5aeca2 (diff)
downloadsamba-8a1439b10de61d78a73ddd085da1edf87bb9e40e.tar.gz
samba-8a1439b10de61d78a73ddd085da1edf87bb9e40e.tar.bz2
samba-8a1439b10de61d78a73ddd085da1edf87bb9e40e.zip
r18727: set the winreg_AbortSystemShutdown() server * to NULL rather than a dummy placeholder
(This used to be commit 92903ab926f0822fb76df58cc65fcd5d44a94f2b)
-rw-r--r--source3/utils/net_rpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 7b5c00ee3c..cb426959c3 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -5109,9 +5109,8 @@ static NTSTATUS rpc_reg_shutdown_abort_internals(const DOM_SID *domain_sid,
const char **argv)
{
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
- uint16_t server = 1;
- result = rpccli_winreg_AbortSystemShutdown(pipe_hnd, mem_ctx, &server);
+ result = rpccli_winreg_AbortSystemShutdown(pipe_hnd, mem_ctx, NULL);
if (NT_STATUS_IS_OK(result)) {
d_printf("\nShutdown successfully aborted\n");