summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 12:44:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:08 +1000
commita02ae674dd6ffaa8ebc4017af6a644162c59a00d (patch)
treee9d25b391a3f41e3a55cbad2b541137908ca3fd6 /source3/rpc_server
parentcbd72ab93bc35aa71a55b190cd999dda4106be07 (diff)
downloadsamba-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/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index c787502a35..e54bd9613f 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -2048,7 +2048,7 @@ NTSTATUS _lsa_RemovePrivilegesFromAccount(struct pipes_struct *p,
if ( !privilege_set_to_se_priv( &mask, set ) )
return NT_STATUS_NO_SUCH_PRIVILEGE;
- if ( !revoke_privilege( &info->sid, &mask ) ) {
+ if ( !revoke_privilege( &info->sid, mask ) ) {
DEBUG(3,("_lsa_RemovePrivilegesFromAccount: revoke_privilege(%s) failed!\n",
sid_string_dbg(&info->sid) ));
DEBUG(3,("Privilege mask: 0x%llx\n", (unsigned long long)mask));