summaryrefslogtreecommitdiffstats
path: root/modules/http
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2002-09-05 13:04:25 +0200
committerJeff Trawick <trawick@apache.org>2002-09-05 13:04:25 +0200
commitc0136a291a20ebc4dd5d3461ab875c79580ab5cd (patch)
tree19058a38bd4d8e3e659e02b7e74e0de4c1e505c8 /modules/http
parentA tutorial on public_html/user home directory web sites has been added. (diff)
downloadapache2-c0136a291a20ebc4dd5d3461ab875c79580ab5cd.tar.xz
apache2-c0136a291a20ebc4dd5d3461ab875c79580ab5cd.zip
don't lose const when calling strrchr()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96646 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/http')
-rw-r--r--modules/http/mod_mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/http/mod_mime.c b/modules/http/mod_mime.c
index 7899049f92..e91cdf9872 100644
--- a/modules/http/mod_mime.c
+++ b/modules/http/mod_mime.c
@@ -804,7 +804,7 @@ static int find_ct(request_rec *r)
/* Always drop the path leading up to the file name.
*/
- if ((fn = strrchr(resource_name, '/')) == NULL) {
+ if ((fn = ap_strrchr_c(resource_name, '/')) == NULL) {
fn = resource_name;
}
else {