mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
Pass down max_size parameter to init_samr_q_query_dispinfo() instead
of hardcoding it to 0xffff. (This used to be commit c3b077f763d94ba063b2d4231cd5d411e44933e7)
This commit is contained in:
parent
ffaaa7a5af
commit
9ce596b2a0
@ -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;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user