From 4bfe0a6bba57b8f44aaea3d0ea32d12fd3da761a Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Tue, 29 Dec 2015 15:32:27 +0000 Subject: 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 --- modules/generators/mod_cgi.c | 2 +- modules/generators/mod_cgid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/generators') 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 */ -- cgit v1.2.3