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/mappers/mod_speling.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/mappers/mod_speling.c')
-rw-r--r-- | modules/mappers/mod_speling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mappers/mod_speling.c b/modules/mappers/mod_speling.c index 4893c02ccd..845b3b2fec 100644 --- a/modules/mappers/mod_speling.c +++ b/modules/mappers/mod_speling.c @@ -253,7 +253,7 @@ static int check_speling(request_rec *r) } /* We've already got a file of some kind or another */ - if (r->proxyreq || (r->finfo.protection != 0)) { + if (r->proxyreq || (r->finfo.filetype != 0)) { return DECLINED; } |