s3: Make an if statement a bit easier to read
authorVolker Lendecke <vl@samba.org>
Fri, 31 Aug 2012 12:11:45 +0000 (14:11 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 1 Sep 2012 05:07:12 +0000 (07:07 +0200)
Fix indentation a bit

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep  1 07:07:12 CEST 2012 on sn-devel-104

source3/smbd/open.c

index b69db8b5e100a01451424ed8b7be989c6c9e5254..381f3b5b27fecd1aa3bf21dcd3200ea11ff5c458 100644 (file)
@@ -2011,8 +2011,9 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn,
        /* We only care about matching attributes on file exists and
         * overwrite. */
 
-       if (!posix_open && file_existed && ((create_disposition == FILE_OVERWRITE) ||
-                            (create_disposition == FILE_OVERWRITE_IF))) {
+       if (!posix_open && file_existed &&
+           ((create_disposition == FILE_OVERWRITE) ||
+            (create_disposition == FILE_OVERWRITE_IF))) {
                if (!open_match_attributes(conn, existing_dos_attributes,
                                           new_dos_attributes,
                                           smb_fname->st.st_ex_mode,