summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-07 16:24:08 +0100
committerVolker Lendecke <vl@samba.org>2009-02-07 19:25:34 +0100
commit51dc7b9d82ceb17ee6a53071dbd588f45e5d0000 (patch)
tree5425eb89db1fa5d10eea5122ac8f5144de137ffe /source3/include
parent422e77f32a317a4a3bc11ae3b03665614899c191 (diff)
downloadsamba-51dc7b9d82ceb17ee6a53071dbd588f45e5d0000.tar.gz
samba-51dc7b9d82ceb17ee6a53071dbd588f45e5d0000.tar.bz2
samba-51dc7b9d82ceb17ee6a53071dbd588f45e5d0000.zip
Make current_in_pdu in pipes_struct allocated
This makes an open pipe about 4K cheaper
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ntdomain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 2d6a358391..7ac4dcefd1 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -89,7 +89,7 @@ typedef struct _input_data {
* pdu is seen, then the data is copied into the in_data
* structure. The maximum size of this is 0x1630 (RPC_MAX_PDU_FRAG_LEN).
*/
- unsigned char current_in_pdu[RPC_MAX_PDU_FRAG_LEN];
+ uint8_t *current_in_pdu;
/*
* The amount of data needed to complete the in_pdu.