diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/files.c b/source3/smbd/files.c index 33adaea757..e6141ece13 100644 --- a/source3/smbd/files.c +++ b/source3/smbd/files.c @@ -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 { |