summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-01 18:44:33 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-01 18:44:33 +0000
commit65ce93d549d74c33f108e76da5cdd183fcf736de (patch)
tree999d424749d686dac704c1520c91bf9b09619732 /source3/rpc_parse
parent5b38ad78b87454650f301b7d96d2b53aa4d30260 (diff)
downloadsamba-65ce93d549d74c33f108e76da5cdd183fcf736de.tar.gz
samba-65ce93d549d74c33f108e76da5cdd183fcf736de.tar.bz2
samba-65ce93d549d74c33f108e76da5cdd183fcf736de.zip
splitting dom info into sam_query_dominfo function
(This used to be commit 39c367b8e9932f64fa774b807e14416f97254312)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index ccc9cdc183..e5c015a6b3 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -543,11 +543,12 @@ void samr_io_r_query_dom_info(char *desc, SAMR_R_QUERY_DOMAIN_INFO *r_u, prs_str
prs_align(ps);
prs_uint32("ptr_0 ", ps, depth, &(r_u->ptr_0));
- prs_uint16("switch_value", ps, depth, &(r_u->switch_value));
- prs_align(ps);
if (r_u->ptr_0 != 0 && r_u->ctr != NULL)
{
+ prs_uint16("switch_value", ps, depth, &(r_u->switch_value));
+ prs_align(ps);
+
switch (r_u->switch_value)
{
case 0x07: