From 456f821626b50e20acc943c7586f1e1cff40f25f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 4 Sep 2012 09:16:55 +0200 Subject: [PATCH] s3: Fix indentation of if-expressions To me this makes open_file_ntcreate a little easier to understand Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Tue Sep 25 10:08:15 CEST 2012 on sn-devel-104 --- source3/smbd/open.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 73127075bbc..d142d960f7e 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; -- 2.11.4.GIT