summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:17:05 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:04 +0100
commit33601b8632edf65af4d4ab787c5615ab5c6af6fb (patch)
tree05fbc260d64a759d2883d547910f8a9235b58336 /source3/web
parent129e976c47037731c9344a3994597b5781210914 (diff)
downloadsamba-33601b8632edf65af4d4ab787c5615ab5c6af6fb.tar.gz
samba-33601b8632edf65af4d4ab787c5615ab5c6af6fb.tar.bz2
samba-33601b8632edf65af4d4ab787c5615ab5c6af6fb.zip
s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers look at the mtime
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/cgi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index 48e75aee56..39108cf361 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -450,7 +450,8 @@ static void cgi_download(char *file)
if (S_ISDIR(st.st_ex_mode))
{
snprintf(buf, sizeof(buf), "%s/index.html", file);
- if (!file_exist_stat(buf, &st) || !S_ISREG(st.st_ex_mode))
+ if (!file_exist_stat(buf, &st, false)
+ || !S_ISREG(st.st_ex_mode))
{
cgi_setup_error("404 File Not Found","",
"The requested file was not found");