diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-08-30 12:44:08 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:08 +1000 |
commit | a02ae674dd6ffaa8ebc4017af6a644162c59a00d (patch) | |
tree | e9d25b391a3f41e3a55cbad2b541137908ca3fd6 /source3/include | |
parent | cbd72ab93bc35aa71a55b190cd999dda4106be07 (diff) | |
download | samba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.tar.gz samba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.tar.bz2 samba-a02ae674dd6ffaa8ebc4017af6a644162c59a00d.zip |
s3-privs Remove a pointer indirection from revoke_privilege()
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index c1910fb26b..a8e1ac3d53 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -639,7 +639,7 @@ NTSTATUS privilege_enum_sids(const uint64_t *mask, TALLOC_CTX *mem_ctx, struct dom_sid **sids, int *num_sids); bool grant_privilege(const struct dom_sid *sid, const uint64_t *priv_mask); bool grant_privilege_by_name(struct dom_sid *sid, const char *name); -bool revoke_privilege(const struct dom_sid *sid, const uint64_t *priv_mask); +bool revoke_privilege(const struct dom_sid *sid, const uint64_t priv_mask); bool revoke_all_privileges( struct dom_sid *sid ); bool revoke_privilege_by_name(struct dom_sid *sid, const char *name); NTSTATUS privilege_create_account(const struct dom_sid *sid ); |