summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-20 11:45:41 +0200
committerVolker Lendecke <vl@samba.org>2008-04-20 11:47:33 +0200
commitf56eedb95c64593ceff0ef91b99729c5071aa7ac (patch)
tree2a44ac5504213b9480fad4ca7e5e5b5716090cba /source3/lib/netapi
parentff8aa642f34f95cb85d4b9a65e01b4fe0efe5384 (diff)
downloadsamba-f56eedb95c64593ceff0ef91b99729c5071aa7ac.tar.gz
samba-f56eedb95c64593ceff0ef91b99729c5071aa7ac.tar.bz2
samba-f56eedb95c64593ceff0ef91b99729c5071aa7ac.zip
Remove the pipe_idx variable from rpc_pipe_client
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c
index 5464237247..2e16b98ffb 100644
--- a/source3/lib/netapi/cm.c
+++ b/source3/lib/netapi/cm.c
@@ -105,7 +105,7 @@ static struct rpc_pipe_client *pipe_cm_find(struct cli_state *cli,
}
if (strequal(cli->desthost, p->pipe->desthost) &&
- pipe_idx == p->pipe->pipe_idx) {
+ rpccli_is_pipe_idx(p->pipe, pipe_idx)) {
*status = NT_STATUS_OK;
return p->pipe;
}