]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_virusfilter: realign synthetic_smb_fname() args in quarantine_create_dir()
authorRalph Boehme <slow@samba.org>
Sun, 3 May 2020 13:05:25 +0000 (15:05 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 5 May 2020 19:18:39 +0000 (19:18 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_virusfilter.c

index ddac0c9a293a73d7a23d6cf01e7d2133a3768dde..46dbfa1b0895488bc4001bf83588fcb391fff274 100644 (file)
@@ -153,8 +153,11 @@ static bool quarantine_create_dir(
 
                        DBG_INFO("quarantine: creating new dir %s\n", new_dir);
 
-                       smb_fname = synthetic_smb_fname(talloc_tos(), new_dir,
-                                                       NULL, NULL, 0);
+                       smb_fname = synthetic_smb_fname(talloc_tos(),
+                                                       new_dir,
+                                                       NULL,
+                                                       NULL,
+                                                       0);
                        if (smb_fname == NULL) {
                                goto done;
                        }