]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: reformat an if expression in smbd_smb2_close()
authorRalph Boehme <slow@samba.org>
Thu, 2 Apr 2020 07:56:46 +0000 (09:56 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 3 Apr 2020 19:05:43 +0000 (19:05 +0000)
No change in behavour.

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

index f597a0f842fb04bd41f6bf2749a56bd006478007..9e3c3daf2e0989a101d61c6a88f3e3540ef261da 100644 (file)
@@ -240,7 +240,9 @@ static NTSTATUS smbd_smb2_close(struct smbd_smb2_request *req,
        }
 
        if ((in_flags & SMB2_CLOSE_FLAGS_FULL_INFORMATION) &&
-           (fsp->initial_delete_on_close || fsp->delete_on_close)) {
+           (fsp->initial_delete_on_close ||
+            fsp->delete_on_close))
+       {
                /*
                 * We might be deleting the file. Ensure we
                 * return valid data from before the file got