From 87605e2030262bc24b59468fe4b5837e8ff584b0 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 11 Jul 2010 12:18:13 -0400 Subject: s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by address MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no need to copy the whole structure twice by passing it in by value. Signed-off-by: Günther Deschner --- source3/include/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') 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, -- cgit