]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: Remove unnecessary ()
authorVolker Lendecke <vl@samba.org>
Fri, 8 Jun 2012 12:24:41 +0000 (14:24 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 8 Jun 2012 19:29:19 +0000 (21:29 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
source3/smbd/files.c

index 33adaea757d6ca3169a33fdaebc8df94e481e13d..e6141ece13af6ffe2305fcf755011d400150f624 100644 (file)
@@ -603,7 +603,7 @@ NTSTATUS dup_file_fsp(struct smb_request *req, files_struct *from,
        to->share_access = share_access;
        to->oplock_type = from->oplock_type;
        to->can_lock = from->can_lock;
-       to->can_read = (access_mask & (FILE_READ_DATA)) ? True : False;
+       to->can_read = (access_mask & FILE_READ_DATA) ? True : False;
        if (!CAN_WRITE(from->conn)) {
                to->can_write = False;
        } else {