diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-04-22 03:14:47 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-04-22 03:14:47 +0000 |
commit | b8893e82d5180e1ac8598c5b6eb1b31ecc8b2f9f (patch) | |
tree | b10bc61cd8f70343e9bd526e0e1c6f2aa1171448 /source/rpc_client/cli_pipe.c | |
parent | 733a457d993d7e98a60731988ac71da2e050f2f9 (diff) | |
download | samba-b8893e82d5180e1ac8598c5b6eb1b31ecc8b2f9f.tar.gz samba-b8893e82d5180e1ac8598c5b6eb1b31ecc8b2f9f.tar.xz samba-b8893e82d5180e1ac8598c5b6eb1b31ecc8b2f9f.zip |
merged libsmb code from head
Diffstat (limited to 'source/rpc_client/cli_pipe.c')
-rw-r--r-- | source/rpc_client/cli_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c index 1ef8a78ea14..b4ca34ea7d5 100644 --- a/source/rpc_client/cli_pipe.c +++ b/source/rpc_client/cli_pipe.c @@ -347,7 +347,7 @@ static BOOL rpc_api_pipe(struct cli_state *cli, uint16 cmd, prs_struct *data, pr DEBUG(5,("rpc_api_pipe: cmd:%x fnum:%x\n", (int)cmd, (int)cli->nt_pipe_fnum)); /* send the data: receive a response. */ - if (!cli_api_pipe(cli, "\\PIPE\\\0\0\0", 8, + if (!cli_api_pipe(cli, "\\PIPE\\", setup, 2, 0, /* Setup, length, max */ NULL, 0, 0, /* Params, length, max */ pdata, data_len, data_len, /* data, length, max */ @@ -913,7 +913,7 @@ static BOOL rpc_pipe_set_hnd_state(struct cli_state *cli, char *pipe_name, uint1 setup[1] = cli->nt_pipe_fnum; /* pipe file handle. got this from an SMBOpenX. */ /* send the data on \PIPE\ */ - if (cli_api_pipe(cli, "\\PIPE\\\0\0\0", 8, + if (cli_api_pipe(cli, "\\PIPE\\", setup, 2, 0, /* setup, length, max */ param, 2, 0, /* param, length, max */ NULL, 0, 1024, /* data, length, max */ |