From 5a83636948cd82c2bf3c5399eed6a9205b6adfac Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 20 Nov 2004 02:48:34 +0000 Subject: r3889: Only set mtime from pending_modtime if it's not already zero... Jeremy. (This used to be commit 984c3506351ba97f74813d678424858508c4197a) --- source3/smbd/trans2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index b4140eeafe..633325638a 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3304,7 +3304,7 @@ static int call_trans2setfilepathinfo(connection_struct *conn, char *inbuf, char SSVAL(params,0,0); - if (fsp) { + if (fsp && fsp->pending_modtime) { /* the pending modtime overrides the current modtime */ sbuf.st_mtime = fsp->pending_modtime; } -- cgit