From: Jeff Trawick Date: Thu, 5 Sep 2002 11:04:25 +0000 (+0000) Subject: don't lose const when calling strrchr() X-Git-Tag: AGB_BEFORE_AAA_CHANGES~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0136a291a20ebc4dd5d3461ab875c79580ab5cd;p=apache 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 --- 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 {