diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-01-06 11:42:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:47 -0500 |
commit | f4ec52a0978dca900942e6001947e3b3d58eccd2 (patch) | |
tree | 45db0c0dbbc6759f7f1103faf9d297b5a8f82b21 /source3/rpc_client/cli_shutdown.c | |
parent | 1afc2e01ce7803a7b54715acfbcb824130f673df (diff) | |
download | samba-f4ec52a0978dca900942e6001947e3b3d58eccd2.tar.gz samba-f4ec52a0978dca900942e6001947e3b3d58eccd2.tar.bz2 samba-f4ec52a0978dca900942e6001947e3b3d58eccd2.zip |
r4561: This looks a lot larger than it is, this is to reduce the clutter on future
patches.
Pass down the pipe_idx down to all functions in cli_pipe where nt_pipe_fnum is
referenced. First step towards having multiple pipes on a cli_struct. The idea
is to not have a single nt_pipe_fnum but an array for the pipes we support.
Volker
(This used to be commit 93eab050201d4e55096a8820226749f001597b5d)
Diffstat (limited to 'source3/rpc_client/cli_shutdown.c')
-rw-r--r-- | source3/rpc_client/cli_shutdown.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_shutdown.c b/source3/rpc_client/cli_shutdown.c index 0bf6e90ad2..9ad0510d1d 100644 --- a/source3/rpc_client/cli_shutdown.c +++ b/source3/rpc_client/cli_shutdown.c @@ -51,7 +51,7 @@ NTSTATUS cli_shutdown_init(struct cli_state * cli, TALLOC_CTX *mem_ctx, init_shutdown_q_init(&q_s, msg, timeout, do_reboot, force); if (!shutdown_io_q_init("", &q_s, &qbuf, 0) || - !rpc_api_pipe_req(cli, SHUTDOWN_INIT, &qbuf, &rbuf)) + !rpc_api_pipe_req(cli, PI_SHUTDOWN, SHUTDOWN_INIT, &qbuf, &rbuf)) goto done; /* Unmarshall response */ @@ -88,7 +88,7 @@ NTSTATUS cli_shutdown_abort(struct cli_state * cli, TALLOC_CTX *mem_ctx) init_shutdown_q_abort(&q_s); if (!shutdown_io_q_abort("", &q_s, &qbuf, 0) || - !rpc_api_pipe_req(cli, SHUTDOWN_ABORT, &qbuf, &rbuf)) + !rpc_api_pipe_req(cli, PI_SHUTDOWN, SHUTDOWN_ABORT, &qbuf, &rbuf)) goto done; /* Unmarshall response */ |