summaryrefslogtreecommitdiffstats
path: root/modules/aaa/mod_authz_core.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2015-11-23 17:48:35 +0100
committerYann Ylavic <ylavic@apache.org>2015-11-23 17:48:35 +0100
commite30575b0b09f82f3586310281c00be3d137d3229 (patch)
tree5db11101318258740ea2249f5dfc8f112399797a /modules/aaa/mod_authz_core.c
parentUse new ap_casecmpstr[n]() functions where appropriate (not exhaustive). (diff)
downloadapache2-e30575b0b09f82f3586310281c00be3d137d3229.tar.xz
apache2-e30575b0b09f82f3586310281c00be3d137d3229.zip
More ap_casecmpstr[n]() usages (follow up to r1715876).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715880 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa/mod_authz_core.c')
-rw-r--r--modules/aaa/mod_authz_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aaa/mod_authz_core.c b/modules/aaa/mod_authz_core.c
index b669c8c8db..1d614c77e9 100644
--- a/modules/aaa/mod_authz_core.c
+++ b/modules/aaa/mod_authz_core.c
@@ -1054,7 +1054,7 @@ struct require_expr_info {
static int expr_lookup_fn(ap_expr_lookup_parms *parms)
{
if (parms->type == AP_EXPR_FUNC_VAR
- && strcasecmp(parms->name, "REMOTE_USER") == 0) {
+ && ap_casecmpstr(parms->name, "REMOTE_USER") == 0) {
struct require_expr_info *info;
apr_pool_userdata_get((void**)&info, REQUIRE_EXPR_NOTE, parms->ptemp);
AP_DEBUG_ASSERT(info != NULL);