summaryrefslogtreecommitdiffstats
path: root/source3/rpc_client/ndr.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-17 12:18:29 +0100
committerVolker Lendecke <vl@samba.org>2009-01-18 15:40:44 +0100
commit5e6f3eaae9435b1ab7b36726e7b898d4994fcebf (patch)
tree2bb36b1d262f8e834196d4ccd4d7eb6ea54c1a36 /source3/rpc_client/ndr.c
parent5987c8269779ca2a7207c37a94b0e841a380d7d1 (diff)
downloadsamba-5e6f3eaae9435b1ab7b36726e7b898d4994fcebf.tar.gz
samba-5e6f3eaae9435b1ab7b36726e7b898d4994fcebf.tar.xz
samba-5e6f3eaae9435b1ab7b36726e7b898d4994fcebf.zip
Move initialization of the reply prs_struct to rpc_api_pipe
Diffstat (limited to 'source3/rpc_client/ndr.c')
-rw-r--r--source3/rpc_client/ndr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_client/ndr.c b/source3/rpc_client/ndr.c
index 9ada47a3f5d..9c3205eca3e 100644
--- a/source3/rpc_client/ndr.c
+++ b/source3/rpc_client/ndr.c
@@ -59,9 +59,7 @@ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli,
talloc_free(push);
- prs_init_empty( &r_ps, mem_ctx, UNMARSHALL );
-
- status = rpc_api_pipe_req(cli, opnum, &q_ps, &r_ps);
+ status = rpc_api_pipe_req(mem_ctx, cli, opnum, &q_ps, &r_ps);
prs_mem_free( &q_ps );