git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a0c68
)
s3: "cgi_download" only looks at the mode and size
author
Volker Lendecke
<vl@samba.org>
Fri, 27 Nov 2009 12:00:10 +0000
(13:00 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 29 Nov 2009 10:22:03 +0000
(11:22 +0100)
source3/web/cgi.c
patch
|
blob
|
history
diff --git
a/source3/web/cgi.c
b/source3/web/cgi.c
index d81970746e2efb400b71b54b6c66df83738ef60c..48e75aee566e0a5ef12802a1e2ffc96c87849493 100644
(file)
--- a/
source3/web/cgi.c
+++ b/
source3/web/cgi.c
@@
-442,7
+442,7
@@
static void cgi_download(char *file)
}
}
- if (sys_stat(file, &st,
lp_fake_dir_create_times()) != 0)
{
+ if (sys_stat(file, &st,
false) != 0)
{
cgi_setup_error("404 File Not Found","",
"The requested file was not found");
}