diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-01-31 23:45:35 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-01-31 23:45:35 +0100 |
commit | 6282d6e36439a5c013d3724a79e52ecb98c61677 (patch) | |
tree | d94a3d9222d765ee584c4596c13c8473f036556f /modules/metadata/mod_expires.c | |
parent | apr_stat() in http_request.c only needs size, type, mtime, ctime & atime valu... (diff) | |
download | apache2-6282d6e36439a5c013d3724a79e52ecb98c61677.tar.xz apache2-6282d6e36439a5c013d3724a79e52ecb98c61677.zip |
Eliminate all assumptions that finfo.protection reflects the existance
or absense of a file. finfo.filetype is defined as 0 if APR_NOFILE,
or a non-zero value if the file could be apr_stat()'ed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_expires.c')
-rw-r--r-- | modules/metadata/mod_expires.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_expires.c b/modules/metadata/mod_expires.c index d122474b4d..e3a96678fb 100644 --- a/modules/metadata/mod_expires.c +++ b/modules/metadata/mod_expires.c @@ -467,7 +467,7 @@ static int add_expires(request_rec *r) switch (code[0]) { case 'M': - if (r->finfo.protection == 0) { + if (r->finfo.filetype == 0) { /* file doesn't exist on disk, so we can't do anything based on * modification time. Note that this does _not_ log an error. */ |