summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-01-29 06:13:18 +0000
committerTim Potter <tpot@samba.org>2003-01-29 06:13:18 +0000
commit9ce596b2a0116e0d4d76a5dac34206d10ad9a643 (patch)
treeb33bfd26a84034d815ebd13e918641b2bc1084e0 /source3/rpc_parse
parentffaaa7a5af9c772f460dc4995df5269b62290831 (diff)
downloadsamba-9ce596b2a0116e0d4d76a5dac34206d10ad9a643.tar.gz
samba-9ce596b2a0116e0d4d76a5dac34206d10ad9a643.tar.bz2
samba-9ce596b2a0116e0d4d76a5dac34206d10ad9a643.zip
Pass down max_size parameter to init_samr_q_query_dispinfo() instead
of hardcoding it to 0xffff. (This used to be commit c3b077f763d94ba063b2d4231cd5d411e44933e7)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index 918cdbcd1d..d031d13955 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -1448,7 +1448,7 @@ inits a SAMR_Q_QUERY_DISPINFO structure.
void init_samr_q_query_dispinfo(SAMR_Q_QUERY_DISPINFO * q_e, POLICY_HND *pol,
uint16 switch_level, uint32 start_idx,
- uint32 max_entries)
+ uint32 max_entries, uint32 max_size)
{
DEBUG(5, ("init_samr_q_query_dispinfo\n"));
@@ -1458,7 +1458,7 @@ void init_samr_q_query_dispinfo(SAMR_Q_QUERY_DISPINFO * q_e, POLICY_HND *pol,
q_e->start_idx = start_idx;
q_e->max_entries = max_entries;
- q_e->max_size = 0xffff; /* Not especially useful */
+ q_e->max_size = max_size;
}
/*******************************************************************