From 3a4c8cd492b9e8874724dff1d0fc0207cb74036b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 7 Feb 2009 23:36:50 +0100 Subject: Make prs_struct->out_data.current_pdu dynamically allocated Another 4k per open pipe --- source3/include/ntdomain.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source3/include') diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 7ac4dcefd1..0eff9bdbac 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -70,13 +70,10 @@ typedef struct _output_data { uint32 data_sent_length; /* - * The current PDU being returned. This inclues + * The current fragment being returned. This inclues * headers, data and authentication footer. */ - unsigned char current_pdu[RPC_MAX_PDU_FRAG_LEN]; - - /* The amount of data in the current_pdu buffer. */ - uint32 current_pdu_len; + prs_struct frag; /* The amount of data sent from the current PDU. */ uint32 current_pdu_sent; -- cgit