summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-08 14:24:41 +0200
committerMichael Adam <obnox@samba.org>2012-06-08 21:29:19 +0200
commite1e1fbcfe6fd79f588b2daea7827c90cd1f24008 (patch)
tree24d65d7ac3736a7406a323573ce4c4e3264c85e1
parentb725154fe7c49254093661d634c41f3fbfa46678 (diff)
downloadsamba-e1e1fbcfe6fd79f588b2daea7827c90cd1f24008.tar.gz
samba-e1e1fbcfe6fd79f588b2daea7827c90cd1f24008.tar.bz2
samba-e1e1fbcfe6fd79f588b2daea7827c90cd1f24008.zip
s3: Remove unnecessary ()
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/smbd/files.c2
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 {