diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-01 18:44:33 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-01 18:44:33 +0000 |
commit | 65ce93d549d74c33f108e76da5cdd183fcf736de (patch) | |
tree | 999d424749d686dac704c1520c91bf9b09619732 /source3/rpc_parse/parse_samr.c | |
parent | 5b38ad78b87454650f301b7d96d2b53aa4d30260 (diff) | |
download | samba-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/parse_samr.c')
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 5 |
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: |