summaryrefslogtreecommitdiff
path: root/modules/loggers
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2016-06-09 00:06:42 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2016-06-09 00:06:42 +0000
commitf4cc76ee717004baf0f82a0aed1a0e02ffaeb10f (patch)
tree7c8af9d3454c38a02fd1dd3db52cdea99960b27e /modules/loggers
parenta3142bb87026a7a261112ba32377f954ec71f24c (diff)
downloadhttpd-f4cc76ee717004baf0f82a0aed1a0e02ffaeb10f.tar.gz
Rename ap_casecmpstr[n]() to ap_cstr_casecmp[n](), update with APR doxygen
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1747469 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/loggers')
-rw-r--r--modules/loggers/mod_log_config.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c
index 4351bc507d..6eb8448bbf 100644
--- a/modules/loggers/mod_log_config.c
+++ b/modules/loggers/mod_log_config.c
@@ -503,7 +503,7 @@ static APR_INLINE char *find_multiple_headers(apr_pool_t *pool,
result_list = rp = NULL;
do {
- if (!ap_casecmpstr(t_elt->key, key)) {
+ if (!ap_cstr_casecmp(t_elt->key, key)) {
if (!result_list) {
result_list = rp = apr_palloc(pool, sizeof(*rp));
}
@@ -547,10 +547,10 @@ static const char *log_header_out(request_rec *r, char *a)
{
const char *cp = NULL;
- if (!ap_casecmpstr(a, "Content-type") && r->content_type) {
+ if (!ap_cstr_casecmp(a, "Content-type") && r->content_type) {
cp = ap_field_noparam(r->pool, r->content_type);
}
- else if (!ap_casecmpstr(a, "Set-Cookie")) {
+ else if (!ap_cstr_casecmp(a, "Set-Cookie")) {
cp = find_multiple_headers(r->pool, r->headers_out, a);
}
else {
@@ -606,7 +606,7 @@ static const char *log_cookie(request_rec *r, char *a)
--last;
}
- if (!ap_casecmpstr(name, a)) {
+ if (!ap_cstr_casecmp(name, a)) {
/* last1 points to the next char following the ';' delim,
or the trailing NUL char of the string */
last = last1 - (*last1 ? 2 : 1);