From c0136a291a20ebc4dd5d3461ab875c79580ab5cd Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 5 Sep 2002 11:04:25 +0000 Subject: [PATCH] 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 --- modules/http/mod_mime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.40.0