mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-02-27 03:47:08 -05:00
Got rid of superfluous acl_clear_perms() call that Antti Tapaninen
pointed out.
This commit is contained in:
@@ -279,7 +279,6 @@ int sys_acl_set_access_bits(SMB_ACL_ENTRY_T entry, uint32 bits)
|
||||
int rc;
|
||||
if ((rc = acl_get_permset(entry, &permset)) != 0)
|
||||
return rc;
|
||||
acl_clear_perms(permset);
|
||||
*permset = bits & 7;
|
||||
return acl_set_permset(entry, permset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user