diff options
author | Yann Ylavic <ylavic@apache.org> | 2015-12-29 16:32:27 +0100 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2015-12-29 16:32:27 +0100 |
commit | 4bfe0a6bba57b8f44aaea3d0ea32d12fd3da761a (patch) | |
tree | 43b75b1ebcf407748b6a346c8182ef930a93899c /modules/generators | |
parent | Don't allow bad value to be updated (diff) | |
download | apache2-4bfe0a6bba57b8f44aaea3d0ea32d12fd3da761a.tar.xz apache2-4bfe0a6bba57b8f44aaea3d0ea32d12fd3da761a.zip |
Follow up to r1715880: revert more abusive ap_casecmpstr[n]() usages.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1722150 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/generators')
-rw-r--r-- | modules/generators/mod_cgi.c | 2 | ||||
-rw-r--r-- | modules/generators/mod_cgid.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index 1e398aad6f..7c70119c94 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -78,7 +78,7 @@ static void discard_script_output(apr_bucket_brigade *bb); static int is_scriptaliased(request_rec *r) { const char *t = apr_table_get(r->notes, "alias-forced-type"); - return t && (!ap_casecmpstr(t, "cgi-script")); + return t && (!strcasecmp(t, "cgi-script")); } /* Configuration stuff */ diff --git a/modules/generators/mod_cgid.c b/modules/generators/mod_cgid.c index 7b29b2e0da..4cebd04571 100644 --- a/modules/generators/mod_cgid.c +++ b/modules/generators/mod_cgid.c @@ -131,7 +131,7 @@ static ap_unix_identity_t *cgid_suexec_id_doer(const request_rec *r) static int is_scriptaliased(request_rec *r) { const char *t = apr_table_get(r->notes, "alias-forced-type"); - return t && (!ap_casecmpstr(t, "cgi-script")); + return t && (!strcasecmp(t, "cgi-script")); } /* Configuration stuff */ |