summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commit4aea0c1fa1dab5f9480a9e5e1ea5e4af18ac061e (patch)
tree437915b0df18322e57040798f324d01ca72ccb45 /source3/smbd
parenta51278067b47a7c2afe9ca0f32bc8fd340ce6a57 (diff)
downloadsamba-4aea0c1fa1dab5f9480a9e5e1ea5e4af18ac061e.tar.gz
samba-4aea0c1fa1dab5f9480a9e5e1ea5e4af18ac061e.tar.bz2
samba-4aea0c1fa1dab5f9480a9e5e1ea5e4af18ac061e.zip
s3: Remove unnecessary ()
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index e753e78a63..a098124618 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -776,7 +776,7 @@ static NTSTATUS open_file(files_struct *fsp,
fsp->vuid = req ? req->vuid : UID_FIELD_INVALID;
fsp->file_pid = req ? req->smbpid : 0;
fsp->can_lock = True;
- fsp->can_read = (access_mask & (FILE_READ_DATA)) ? True : False;
+ fsp->can_read = (access_mask & FILE_READ_DATA) ? True : False;
if (!CAN_WRITE(conn)) {
fsp->can_write = False;
} else {