summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-01-06 14:50:33 +0100
committerAndrew Bartlett <abartlet@samba.org>2013-01-09 15:29:44 +1100
commit296c0c34f198dfc7a8f13f26e54fbc980f667784 (patch)
tree8cf0783dcd3a157fe42480e585e74773a4adca2a /source3/smbd
parent38b34cc3e529e185dd3b3d9f79ae74d1c9fac435 (diff)
downloadsamba-296c0c34f198dfc7a8f13f26e54fbc980f667784.tar.gz
samba-296c0c34f198dfc7a8f13f26e54fbc980f667784.tar.bz2
samba-296c0c34f198dfc7a8f13f26e54fbc980f667784.zip
smbd: Remove some ()
Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/uid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 5ab0dc4e30..b2fe39cb9c 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -104,13 +104,13 @@ static uint32_t create_share_access_mask(int snum,
share_access |= SEC_FLAG_SYSTEM_SECURITY;
}
if (security_token_has_privilege(token, SEC_PRIV_RESTORE)) {
- share_access |= (SEC_RIGHTS_PRIV_RESTORE);
+ share_access |= SEC_RIGHTS_PRIV_RESTORE;
}
if (security_token_has_privilege(token, SEC_PRIV_BACKUP)) {
- share_access |= (SEC_RIGHTS_PRIV_BACKUP);
+ share_access |= SEC_RIGHTS_PRIV_BACKUP;
}
if (security_token_has_privilege(token, SEC_PRIV_TAKE_OWNERSHIP)) {
- share_access |= (SEC_STD_WRITE_OWNER);
+ share_access |= SEC_STD_WRITE_OWNER;
}
return share_access;