summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-07 23:36:50 +0100
committerVolker Lendecke <vl@samba.org>2009-02-08 13:53:50 +0100
commit3a4c8cd492b9e8874724dff1d0fc0207cb74036b (patch)
tree14c180a81dc0c4a8d773846654de01d5274c9b66 /source3/include
parent32a75292430910f73d4fa44b0628e9013aa5f161 (diff)
downloadsamba-3a4c8cd492b9e8874724dff1d0fc0207cb74036b.tar.gz
samba-3a4c8cd492b9e8874724dff1d0fc0207cb74036b.tar.bz2
samba-3a4c8cd492b9e8874724dff1d0fc0207cb74036b.zip
Make prs_struct->out_data.current_pdu dynamically allocated
Another 4k per open pipe
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntdomain.h7
1 files changed, 2 insertions, 5 deletions
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;