summaryrefslogtreecommitdiff
path: root/source3/smbd/nttrans.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-03-10 01:30:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:57 -0500
commiteb546db88d9d4ad8da3709b2edc4d455a88e6119 (patch)
tree80ac0ae2baf53cc8c73c65e0b7c1d9423463a91a /source3/smbd/nttrans.c
parentcbe4adaec7fe3a4f6a2ec443f6951ea61fb17f63 (diff)
downloadsamba-eb546db88d9d4ad8da3709b2edc4d455a88e6119.tar.gz
samba-eb546db88d9d4ad8da3709b2edc4d455a88e6119.tar.bz2
samba-eb546db88d9d4ad8da3709b2edc4d455a88e6119.zip
r5720: Attempt to fix bug #2382 (Excel shared workbook stops working). Also
incorporates part of the fix created by ke_miyata@itg.hitachi.co.jp for bug #2045 (MS-Office behavior of timestamp). Jeremy. (This used to be commit 4f3b12ac73487f4ccb37c17506af1abf5acc80cd)
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index eb2232942b..fbb7364090 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -1698,7 +1698,7 @@ static NTSTATUS copy_internals(connection_struct *conn, char *oldname, char *new
close_file(fsp1,False);
/* Ensure the modtime is set correctly on the destination file. */
- fsp2->pending_modtime = sbuf1.st_mtime;
+ fsp_set_pending_modtime(fsp2, sbuf1.st_mtime);
close_ret = close_file(fsp2,False);