summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-03 08:39:37 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-03 08:39:37 +0000
commit87ef172531add2672185ec8935180104c3667894 (patch)
tree793ae8ffba4347833a2731082c4fc41eccdc9359
parentdfc43cdf14f3752b6802e04f3571b5f925297d58 (diff)
downloadsamba-87ef172531add2672185ec8935180104c3667894.tar.gz
samba-87ef172531add2672185ec8935180104c3667894.tar.bz2
samba-87ef172531add2672185ec8935180104c3667894.zip
actually use the passed parameters!
(This used to be commit 717803848afd7e1b443c3134183c171b54f192d7)
-rw-r--r--source4/libcli/rpc/dcerpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/libcli/rpc/dcerpc.c b/source4/libcli/rpc/dcerpc.c
index 7980b77757..96a355c9e1 100644
--- a/source4/libcli/rpc/dcerpc.c
+++ b/source4/libcli/rpc/dcerpc.c
@@ -681,7 +681,7 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p,
}
/* push the structure into a blob */
- status = ndr_push_rpcecho_addone(push, struct_ptr);
+ status = ndr_push(push, struct_ptr);
if (!NT_STATUS_IS_OK(status)) {
goto failed;
}
@@ -690,7 +690,7 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p,
request = ndr_push_blob(push);
/* make the actual dcerpc request */
- status = cli_dcerpc_request(p, RPCECHO_CALL_ADDONE, mem_ctx, &request, &response);
+ status = cli_dcerpc_request(p, opnum, mem_ctx, &request, &response);
if (!NT_STATUS_IS_OK(status)) {
goto failed;
}
@@ -702,7 +702,7 @@ NTSTATUS dcerpc_ndr_request(struct dcerpc_pipe *p,
}
/* pull the structure from the blob */
- status = ndr_pull_rpcecho_addone(pull, struct_ptr);
+ status = ndr_pull(pull, struct_ptr);
if (!NT_STATUS_IS_OK(status)) {
goto failed;
}