From ef961c372a85962e225e70367aacbc8539ffbf4c Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Sat, 1 Aug 2020 16:56:25 +0000 Subject: [PATCH] This not a hot path in RL use case, but looks to be one during testing with the test framework. Sso save a few cycles in this (unusual) use case. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1880509 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/mod_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index 90c84d03f24..1662242afe9 100644 --- a/modules/generators/mod_info.c +++ b/modules/generators/mod_info.c @@ -230,7 +230,7 @@ static int mod_info_has_cmd(const command_rec * cmds, ap_directive_t * dir) if (cmds == NULL) return 1; for (cmd = cmds; cmd->name; ++cmd) { - if (strcasecmp(cmd->name, dir->directive) == 0) + if (ap_cstr_casecmp(cmd->name, dir->directive) == 0) return 1; } return 0; -- 2.47.3