]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: reindent if expression in real_write_file()
authorRalph Boehme <slow@samba.org>
Thu, 2 Apr 2020 08:29:15 +0000 (10:29 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 3 Apr 2020 19:05:43 +0000 (19:05 +0000)
No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/fileio.c

index 272262d78cd41861ba7cfa8465d0fa4d41f17ec0..54f04404ca716b2499d6e85c84862a1750e7fa12 100644 (file)
@@ -71,8 +71,10 @@ static ssize_t real_write_file(struct smb_request *req,
        ssize_t ret;
 
        fsp->fh->pos = pos;
-       if (pos && lp_strict_allocate(SNUM(fsp->conn)) &&
-                       !fsp->is_sparse) {
+       if (pos &&
+           lp_strict_allocate(SNUM(fsp->conn)) &&
+           !fsp->is_sparse)
+       {
                if (vfs_fill_sparse(fsp, pos) == -1) {
                        return -1;
                }