summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 12:42:39 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:01 +0100
commit44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67 (patch)
treebd10abc110d1f33352b102f0d3c0df83c1a88774 /source3/web
parentb973c5083699ad2b22c72fafe5c4b77f1f4eeccb (diff)
downloadsamba-44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67.tar.gz
samba-44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67.tar.bz2
samba-44ce5603ddbb1b9d75bfff58e40e7f1ea2821c67.zip
s3: Pass the "fake dir create times" parameter to sys_*stat
Step 0 to restore it as a per-share paramter
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index a31943fa8d..d81970746e 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -442,8 +442,7 @@ static void cgi_download(char *file)
}
}
- if (sys_stat(file, &st) != 0)
- {
+ if (sys_stat(file, &st, lp_fake_dir_create_times()) != 0) {
cgi_setup_error("404 File Not Found","",
"The requested file was not found");
}