diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-01 18:32:34 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-01 18:32:34 +0000 |
commit | c55bcec817f47d6162466b193d533c877194124a (patch) | |
tree | 7e021cec55906e2e789c4a66a316b66342061724 /source/rpc_parse/parse_sec.c | |
parent | 8cfb55e81abebf0354e6d470ed68bbac1d6560ad (diff) | |
download | samba-c55bcec817f47d6162466b193d533c877194124a.tar.gz samba-c55bcec817f47d6162466b193d533c877194124a.tar.xz samba-c55bcec817f47d6162466b193d533c877194124a.zip |
Tidyup removing many of the 0xC0000000 | NT_STATUS_XXX stuff (only need NT_STATUS_XXX).
Removed IS_BITS_xxx macros as they were just reproducing "C" syntax in a more
obscure way.
Jeremy.
Diffstat (limited to 'source/rpc_parse/parse_sec.c')
-rw-r--r-- | source/rpc_parse/parse_sec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_parse/parse_sec.c b/source/rpc_parse/parse_sec.c index 4a7db6d7c22..00a15324702 100644 --- a/source/rpc_parse/parse_sec.c +++ b/source/rpc_parse/parse_sec.c @@ -510,7 +510,7 @@ BOOL sec_io_desc(char *desc, SEC_DESC **ppsd, prs_struct *ps, int depth) max_offset = MAX(max_offset, prs_offset(ps)); - if (IS_BITS_SET_ALL(psd->type, SEC_DESC_SACL_PRESENT) && psd->off_sacl) { + if ((psd->type & SEC_DESC_SACL_PRESENT) && psd->off_sacl) { if(!prs_set_offset(ps, old_offset + psd->off_sacl)) return False; if(!sec_io_acl("sacl", &psd->sacl, ps, depth)) @@ -521,7 +521,7 @@ BOOL sec_io_desc(char *desc, SEC_DESC **ppsd, prs_struct *ps, int depth) max_offset = MAX(max_offset, prs_offset(ps)); - if (IS_BITS_SET_ALL(psd->type, SEC_DESC_DACL_PRESENT) && psd->off_dacl != 0) { + if ((psd->type & SEC_DESC_DACL_PRESENT) && psd->off_dacl != 0) { if(!prs_set_offset(ps, old_offset + psd->off_dacl)) return False; if(!sec_io_acl("dacl", &psd->dacl, ps, depth)) |