summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-08-31 14:11:45 +0200
committerJeremy Allison <jra@samba.org>2012-09-01 07:07:12 +0200
commitd5f845c0d3ca185181760bce3731d31a71db4f32 (patch)
tree0442371859bd17995e62befe99aa76a0753da53e /source3
parent5e0365dfe891f556eed180bc44ac7120c37141fb (diff)
downloadsamba-d5f845c0d3ca185181760bce3731d31a71db4f32.tar.gz
samba-d5f845c0d3ca185181760bce3731d31a71db4f32.tar.bz2
samba-d5f845c0d3ca185181760bce3731d31a71db4f32.zip
s3: Make an if statement a bit easier to read
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
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index b69db8b5e1..381f3b5b27 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -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,