You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2020/08/01 16:56:25 UTC
svn commit: r1880509 - /httpd/httpd/trunk/modules/generators/mod_info.c
Author: jailletc36
Date: Sat Aug 1 16:56:25 2020
New Revision: 1880509
URL: http://svn.apache.org/viewvc?rev=1880509&view=rev
Log:
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.
Modified:
httpd/httpd/trunk/modules/generators/mod_info.c
Modified: httpd/httpd/trunk/modules/generators/mod_info.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_info.c?rev=1880509&r1=1880508&r2=1880509&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_info.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_info.c Sat Aug 1 16:56:25 2020
@@ -230,7 +230,7 @@ static int mod_info_has_cmd(const comman
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;