summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_shutdown.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-20 18:17:52 +0200
committerVolker Lendecke <vl@samba.org>2008-07-21 14:36:27 +0200
commit82b5f54f96b1161b8357a69b985c75f2853573ef (patch)
tree1bcab911db0dc95cd1f1e719cbb3949ef77bfae6 /source3/rpcclient/cmd_shutdown.c
parent798b56edaec88206b0d61d2852af41777d53aef2 (diff)
downloadsamba-82b5f54f96b1161b8357a69b985c75f2853573ef.tar.gz
samba-82b5f54f96b1161b8357a69b985c75f2853573ef.tar.bz2
samba-82b5f54f96b1161b8357a69b985c75f2853573ef.zip
Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
Diffstat (limited to 'source3/rpcclient/cmd_shutdown.c')
-rw-r--r--source3/rpcclient/cmd_shutdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_shutdown.c b/source3/rpcclient/cmd_shutdown.c
index 391627eda1..f79c9aad02 100644
--- a/source3/rpcclient/cmd_shutdown.c
+++ b/source3/rpcclient/cmd_shutdown.c
@@ -107,10 +107,10 @@ struct cmd_set shutdown_commands[] = {
{ "SHUTDOWN" },
#if 0
- { "shutdowninit", RPC_RTYPE_NTSTATUS, cmd_shutdown_init, NULL, PI_INITSHUTDOWN, "Remote Shutdown (over shutdown pipe)",
+ { "shutdowninit", RPC_RTYPE_NTSTATUS, cmd_shutdown_init, NULL, &ndr_table_initshutdown.syntax_id, "Remote Shutdown (over shutdown pipe)",
"syntax: shutdown [-m message] [-t timeout] [-r] [-h] [-f] (-r == reboot, -h == halt, -f == force)" },
- { "shutdownabort", RPC_RTYPE_NTSTATUS, cmd_shutdown_abort, NULL, PI_INITSHUTDOWN, "Abort Shutdown (over shutdown pipe)",
+ { "shutdownabort", RPC_RTYPE_NTSTATUS, cmd_shutdown_abort, NULL, &ndr_table_initshutdown.syntax_id, "Abort Shutdown (over shutdown pipe)",
"syntax: shutdownabort" },
#endif
{ NULL }