s3: "cgi_download" only looks at the mode and size
authorVolker Lendecke <vl@samba.org>
Fri, 27 Nov 2009 12:00:10 +0000 (13:00 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Nov 2009 10:22:03 +0000 (11:22 +0100)
source3/web/cgi.c

index d81970746e2efb400b71b54b6c66df83738ef60c..48e75aee566e0a5ef12802a1e2ffc96c87849493 100644 (file)
@@ -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");
        }