git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffaaa7a
)
Pass down max_size parameter to init_samr_q_query_dispinfo() instead
author
Tim Potter
<tpot@samba.org>
Wed, 29 Jan 2003 06:13:18 +0000
(06:13 +0000)
committer
Tim Potter
<tpot@samba.org>
Wed, 29 Jan 2003 06:13:18 +0000
(06:13 +0000)
of hardcoding it to 0xffff.
(This used to be commit
c3b077f763d94ba063b2d4231cd5d411e44933e7
)
source3/rpc_parse/parse_samr.c
patch
|
blob
|
history
diff --git
a/source3/rpc_parse/parse_samr.c
b/source3/rpc_parse/parse_samr.c
index 918cdbcd1dfbf1c190bdcb8776ce6c9db6f5c655..d031d139552df63824c0d8da83209364e5718a33 100644
(file)
--- 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;
}
/*******************************************************************