diff options
author | Jeff Trawick <trawick@apache.org> | 2012-01-15 01:27:57 +0100 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2012-01-15 01:27:57 +0100 |
commit | ba8bc09ce473d25903ed39d53434e5eb388a515b (patch) | |
tree | 1d7e03ed96077736384aac0aa2a6da7f614213a9 /modules/test | |
parent | remove unused function (diff) | |
download | apache2-ba8bc09ce473d25903ed39d53434e5eb388a515b.tar.xz apache2-ba8bc09ce473d25903ed39d53434e5eb388a515b.zip |
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
Diffstat (limited to 'modules/test')
-rw-r--r-- | modules/test/mod_policy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/test/mod_policy.c b/modules/test/mod_policy.c index 9018678a78..b83e1092ca 100644 --- a/modules/test/mod_policy.c +++ b/modules/test/mod_policy.c @@ -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); } |