Got the logic simplification worked out so we still pass
[samba.git] / source3 / smbd / nttrans.c
index a1e7889119ed7a9d1fee26f2aaf6696f484b888d..66102fa96ccdbf90393d260dc4d6de988d5a28a1 100644 (file)
@@ -1296,7 +1296,7 @@ static NTSTATUS copy_internals(TALLOC_CTX *ctx,
        close_file(NULL, fsp1, NORMAL_CLOSE);
 
        /* Ensure the modtime is set correctly on the destination file. */
-       set_close_write_time(NULL, fsp2, smb_fname_src->st.st_ex_mtime);
+       set_close_write_time(fsp2, smb_fname_src->st.st_ex_mtime);
 
        status = close_file(NULL, fsp2, NORMAL_CLOSE);