Commit 5d9522d1 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

fix const warning with strchr->ap_strchr mapping


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1231602 13f79535-47bb-0310-9956-ffa450edef68
parent d6ed38af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ static apr_status_t policy_type_out_filter(ap_filter_t *f,
        /* content type present and valid? */
        if (f->r->content_type) {
            const char *type = f->r->content_type;
            const char *end = strchr(type, ';');
            const char *end = ap_strchr_c(type, ';');
            if (end) {
                type = apr_pstrmemdup(f->r->pool, type, end - type);
            }