From: Jeff Trawick Date: Fri, 24 Aug 2001 10:40:04 +0000 (+0000) Subject: protect const-ness of variant->file_name by using ap_strchr_c() instead X-Git-Tag: 2.0.25~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=16e61c9a59d56cd4b4fb681f464917aaf59d7286;p=thirdparty%2Fapache%2Fhttpd.git protect const-ness of variant->file_name by using ap_strchr_c() instead of strchr() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90627 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index 46111f5007e..18d3331a81f 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -2637,7 +2637,7 @@ static int do_negotiation(request_rec *r, negotiation_state *neg, * non-neighboring variant. We can have a non-neighboring * variant when processing a type map. */ - if (strchr(variant->file_name, '/')) + if (ap_strchr_c(variant->file_name, '/')) neg->is_transparent = 0; } }