diff options
author | Simo Sorce <idra@samba.org> | 2010-07-11 12:18:13 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-13 14:44:11 +0200 |
commit | 87605e2030262bc24b59468fe4b5837e8ff584b0 (patch) | |
tree | c9e769f6b7afd9d8879bd1588e8501ed4f0cdd8a /source3/include | |
parent | fe9036cf5bd8aa775a0419be8effae257d6f97f2 (diff) | |
download | samba-87605e2030262bc24b59468fe4b5837e8ff584b0.tar.gz samba-87605e2030262bc24b59468fe4b5837e8ff584b0.tar.bz2 samba-87605e2030262bc24b59468fe4b5837e8ff584b0.zip |
s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by address
There is no need to copy the whole structure twice by passing it in by value.
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index a8fa4c1977..0fbe70a89c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4850,7 +4850,7 @@ NTSTATUS dcerpc_push_ncacn_packet(TALLOC_CTX *mem_ctx, uint8_t pfc_flags, uint16_t auth_length, uint32_t call_id, - union dcerpc_payload u, + union dcerpc_payload *u, DATA_BLOB *blob); NTSTATUS dcerpc_push_ncacn_packet_header(TALLOC_CTX *mem_ctx, enum dcerpc_pkt_type ptype, |