smbd: realign synthetic_smb_fname() args in msg_file_was_renamed()
authorRalph Boehme <slow@samba.org>
Sun, 3 May 2020 13:08:03 +0000 (15:08 +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/smbd/open.c

index 68384ce440d51207e31e2688fef01e59aa4762b7..3b73fcbdccd43026f3ddf5e133692e2895fbc964 100644 (file)
@@ -4685,8 +4685,11 @@ void msg_file_was_renamed(struct messaging_context *msg_ctx,
                msg->stream_name = NULL;
        }
 
-       smb_fname = synthetic_smb_fname(
-               msg, msg->base_name, msg->stream_name, NULL, 0);
+       smb_fname = synthetic_smb_fname(msg,
+                                       msg->base_name,
+                                       msg->stream_name,
+                                       NULL,
+                                       0);
        if (smb_fname == NULL) {
                DBG_DEBUG("synthetic_smb_fname failed\n");
                goto out;