diff options
author | Volker Lendecke <vl@samba.org> | 2012-09-04 09:16:55 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-09-25 10:08:15 +0200 |
commit | 456f821626b50e20acc943c7586f1e1cff40f25f (patch) | |
tree | 3b6d0e97547c3aa0203dc90bd910349a640137d3 /source3/smbd | |
parent | 1c1ae6d639364533c4b23cb71c471d0d46bfff36 (diff) | |
download | samba-456f821626b50e20acc943c7586f1e1cff40f25f.tar.gz samba-456f821626b50e20acc943c7586f1e1cff40f25f.tar.bz2 samba-456f821626b50e20acc943c7586f1e1cff40f25f.zip |
s3: Fix indentation of if-expressions
To me this makes open_file_ntcreate a little easier to understand
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Sep 25 10:08:15 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/open.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 73127075bb..d142d960f7 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -2122,12 +2122,13 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, */ if ((access_mask & (FILE_WRITE_DATA | FILE_APPEND_DATA)) || - (oplock_request & FORCE_OPLOCK_BREAK_TO_NONE)) { + (oplock_request & FORCE_OPLOCK_BREAK_TO_NONE)) { /* DENY_DOS opens are always underlying read-write on the file handle, no matter what the requested access mask says. */ if ((private_flags & NTCREATEX_OPTIONS_PRIVATE_DENY_DOS) || - access_mask & (FILE_READ_ATTRIBUTES|FILE_READ_DATA|FILE_READ_EA|FILE_EXECUTE)) { + access_mask & (FILE_READ_ATTRIBUTES|FILE_READ_DATA| + FILE_READ_EA|FILE_EXECUTE)) { flags = O_RDWR; } else { flags = O_WRONLY; |