summaryrefslogtreecommitdiffstats
path: root/modules/generators
diff options
context:
space:
mode:
Diffstat (limited to 'modules/generators')
-rw-r--r--modules/generators/mod_cgi.c2
-rw-r--r--modules/generators/mod_cgid.c2
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 */