From 2d64e24da2c766ed653aace1100576dd7943c72f Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 27 Jun 2001 21:59:48 +0000 Subject: [PATCH] Deploy ap_sub_req_lookup_dirent() for the main loop. Note we _really_ need to further optimize this code, there are dozens of perhaps unnecessary stat calls, and meaningless #ifndef OS2 protections around apr_lstat()'s. OS2 has lstat (It's simply stat()) so we should pull the os-specific cruft. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89449 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_negotiation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index 11acb5691e..4e56648a69 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -951,7 +951,7 @@ static int read_types_multi(negotiation_state *neg) * which we'll be slapping default_type on later). */ - sub_req = ap_sub_req_lookup_file(dirent.name, r, NULL); + sub_req = ap_sub_req_lookup_dirent(&dirent, r, NULL); /* If it has a handler, we'll pretend it's a CGI script, * since that's a good indication of the sort of thing it -- 2.40.0