diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-02-20 10:11:40 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-02-20 10:11:40 +0000 |
commit | ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2 (patch) | |
tree | dd68fc374b07138ee8b0c7aaa4232820aad1c00d /source/rpc_client | |
parent | e1a04e621f1c28d8e6e543d43741ca0272e2237f (diff) | |
download | samba-ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2.tar.gz samba-ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2.tar.xz samba-ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2.zip |
pipe opening now works with unicode
Diffstat (limited to 'source/rpc_client')
-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 0b119de5a1e..67cf65a4ff3 100644 --- a/source/rpc_client/cli_pipe.c +++ b/source/rpc_client/cli_pipe.c @@ -336,7 +336,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 */ @@ -889,7 +889,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 */ |