summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-04-03 19:55:42 +0200
committerStefan Metzmacher <metze@samba.org>2012-04-03 20:02:10 +0200
commit05ceb53dda1ac5e17c02dc42018636312cde2170 (patch)
tree01d7925f18368f40dcaa2c5d74367087dbbfa047 /source4/librpc/rpc
parentfba028afbd65764074fd7c6da47dfff6142ccd6e (diff)
downloadsamba-05ceb53dda1ac5e17c02dc42018636312cde2170.tar.gz
samba-05ceb53dda1ac5e17c02dc42018636312cde2170.tar.bz2
samba-05ceb53dda1ac5e17c02dc42018636312cde2170.zip
s4:librpc/rpc: don't mix up paylod ndr flags with the dcerpc layer
If the transfer syntax is NDR64, it's only for the payload not for the dcerpc pdus. metze
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index ebf6f33aa5..5d286c83c0 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -674,7 +674,7 @@ static NTSTATUS ncacn_pull(struct dcecli_connection *c, DATA_BLOB *blob, TALLOC_
struct ndr_pull *ndr;
enum ndr_err_code ndr_err;
- ndr = ndr_pull_init_flags(c, blob, mem_ctx);
+ ndr = ndr_pull_init_blob(blob, mem_ctx);
if (!ndr) {
return NT_STATUS_NO_MEMORY;
}