summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-20 11:27:24 +0200
committerVolker Lendecke <vl@samba.org>2008-04-20 11:27:24 +0200
commitff8aa642f34f95cb85d4b9a65e01b4fe0efe5384 (patch)
treeae64988f7ff292190cbbae18553a5b24789a7544 /source3/rpc_client
parentcf2442bdcb68d75582da98ba15da8928c37fb058 (diff)
downloadsamba-ff8aa642f34f95cb85d4b9a65e01b4fe0efe5384.tar.gz
samba-ff8aa642f34f95cb85d4b9a65e01b4fe0efe5384.tar.bz2
samba-ff8aa642f34f95cb85d4b9a65e01b4fe0efe5384.zip
Remove some unused code referencing pipe_names[]
(This used to be commit d8a04b798c44c26a91a37fa7090dd071a1909166)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index bc9a4268d0..b9d184f023 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1672,23 +1672,6 @@ static bool check_bind_response(RPC_HDR_BA *hdr_ba, const int pipe_idx, RPC_IFAC
DEBUG(4,("Ignoring length check -- ASU bug (server didn't fill in the pipe name correctly)"));
}
-# if 0 /* JERRY -- apparently ASU forgets to fill in the server pipe name sometimes */
- if ( !strequal(hdr_ba->addr.str, pipe_names[pipe_idx].client_pipe) &&
- !strequal(hdr_ba->addr.str, pipe_names[pipe_idx].server_pipe) )
- {
- DEBUG(4,("bind_rpc_pipe: pipe_name %s != expected pipe %s. oh well!\n",
- pipe_names[i].server_pipe ,hdr_ba->addr.str));
- return False;
- }
-
- DEBUG(5,("bind_rpc_pipe: server pipe_name found: %s\n", pipe_names[i].server_pipe ));
-
- if (pipe_names[pipe_idx].server_pipe == NULL) {
- DEBUG(2,("bind_rpc_pipe: pipe name %s unsupported\n", hdr_ba->addr.str));
- return False;
- }
-#endif /* JERRY */
-
/* check the transfer syntax */
if ((hdr_ba->transfer.if_version != transfer->if_version) ||
(memcmp(&hdr_ba->transfer.uuid, &transfer->uuid, sizeof(transfer->uuid)) !=0)) {