diff options
author | Yann Ylavic <ylavic@apache.org> | 2015-12-30 00:22:44 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2015-12-30 00:22:44 +0000 |
commit | 94f58fdb3a9339ba8d103b121f266216a071c5b3 (patch) | |
tree | 35c5b7b19da3bac0fbd87f5e00d4b3d1707bdaf5 /server/config.c | |
parent | 3b122da4868b97617ce8364fb28b7fa68f32c09a (diff) | |
download | httpd-94f58fdb3a9339ba8d103b121f266216a071c5b3.tar.gz |
Follow up to r1715876: core directives' tokens are ASCII.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1722252 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/config.c')
-rw-r--r-- | server/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/config.c b/server/config.c index 50dfb11725..7d8f8fc971 100644 --- a/server/config.c +++ b/server/config.c @@ -1025,11 +1025,11 @@ static const char *invoke_cmd(const command_rec *cmd, cmd_parms *parms, */ w = ap_getword_conf(parms->temp_pool, &args); - if (*w == '\0' || (strcasecmp(w, "on") && strcasecmp(w, "off"))) + if (*w == '\0' || (ap_casecmpstr(w, "on") && ap_casecmpstr(w, "off"))) return apr_pstrcat(parms->pool, cmd->name, " must be On or Off", NULL); - return cmd->AP_FLAG(parms, mconfig, strcasecmp(w, "off") != 0); + return cmd->AP_FLAG(parms, mconfig, ap_casecmpstr(w, "off") != 0); default: return apr_pstrcat(parms->pool, cmd->name, |