Commit 6e330dc0 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 2e99dae8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }
    }