diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-20 18:48:44 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-21 14:36:30 +0200 |
commit | 303f98af2fdb39ea1362197baf8fd7d98cea7475 (patch) | |
tree | 11a19f28c8ee2517fcc6d3c4d1bee57fd6a49558 /source3/rpc_client | |
parent | 346a8d1bdcb5e69f608e9e6859e36798f3d43abe (diff) | |
download | samba-303f98af2fdb39ea1362197baf8fd7d98cea7475.tar.gz samba-303f98af2fdb39ea1362197baf8fd7d98cea7475.tar.bz2 samba-303f98af2fdb39ea1362197baf8fd7d98cea7475.zip |
Remove now unused cli_get_pipe_name
(This used to be commit ed4a447103cd9ada59222d79f5784818fe033209)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 3f27a89fc4..7781ea6921 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -78,14 +78,9 @@ static const struct pipe_id_info { }; /**************************************************************************** - Return the pipe name from the index. + Return the pipe name from the interface. ****************************************************************************/ -const char *cli_get_pipe_name(int pipe_idx) -{ - return &pipe_names[pipe_idx].client_pipe[5]; -} - const char *cli_get_pipe_name_from_iface(TALLOC_CTX *mem_ctx, struct cli_state *cli, const struct ndr_syntax_id *interface) @@ -94,7 +89,7 @@ const char *cli_get_pipe_name_from_iface(TALLOC_CTX *mem_ctx, for (i = 0; pipe_names[i].client_pipe; i++) { if (ndr_syntax_id_equal(pipe_names[i].abstr_syntax, interface)) { - return cli_get_pipe_name(i); + return &pipe_names[i].client_pipe[5]; } } |