]> granicus.if.org Git - apache/commitdiff
don't lose const looking for that '/'
authorJeff Trawick <trawick@apache.org>
Fri, 9 Aug 2002 19:21:57 +0000 (19:21 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 9 Aug 2002 19:21:57 +0000 (19:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96334 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_negotiation.c

index 97189aa355b64df6cbd25a6d1d4f59815e6eaa7a..93392a0e4f9fbc1a879b415e9cb58aab1bf31945 100644 (file)
@@ -2685,7 +2685,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 (ap_strchr(variant->file_name, '/'))
+            if (ap_strchr_c(variant->file_name, '/'))
                 neg->is_transparent = 0;
 
             /* We can't be transparent, because of the behavior