summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:44:33 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:02 +0100
commit932ab0c299c89ae63a35f8b0a59e0c03b9c5ec3f (patch)
tree10d1a3d6147aa77900f484445ac8fb717e70a38a
parent44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67 (diff)
downloadsamba-932ab0c299c89ae63a35f8b0a59e0c03b9c5ec3f.tar.gz
samba-932ab0c299c89ae63a35f8b0a59e0c03b9c5ec3f.tar.bz2
samba-932ab0c299c89ae63a35f8b0a59e0c03b9c5ec3f.zip
s3: client "newer" does not look at the create timestamp
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 187fd88743..1990ae801b 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3439,7 +3439,7 @@ static int cmd_newer(void)
SMB_STRUCT_STAT sbuf;
ok = next_token_talloc(ctx, &cmd_ptr,&buf,NULL);
- if (ok && (sys_stat(buf, &sbuf, lp_fake_dir_create_times()) == 0)) {
+ if (ok && (sys_stat(buf, &sbuf, false) == 0)) {
newer_than = convert_timespec_to_time_t(sbuf.st_ex_mtime);
DEBUG(1,("Getting files newer than %s",
time_to_asc(newer_than)));