]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
reverting to old strcasecmp for 2.4.x flavour
authorStefan Eissing <icing@apache.org>
Mon, 23 Nov 2015 19:21:41 +0000 (19:21 +0000)
committerStefan Eissing <icing@apache.org>
Mon, 23 Nov 2015 19:21:41 +0000 (19:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4-http2-alpha@1715926 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_from_h1.c

index db0c80db05cdacd6d57bc949aa9472ccf6771f94..dfcfb03666ce8e2cec395e4701afd735337aa255 100644 (file)
@@ -262,7 +262,7 @@ static int uniq_field_values(void *d, const char *key, const char *val)
          */
         for (i = 0, strpp = (char **) values->elts; i < values->nelts;
              ++i, ++strpp) {
-            if (*strpp && ap_casecmpstr(*strpp, start) == 0) {
+            if (*strpp && strcasecmp(*strpp, start) == 0) {
                 break;
             }
         }
@@ -411,7 +411,7 @@ static h2_response *create_response(h2_from_h1 *from_h1, request_rec *r)
         
         while (field && (token = ap_get_list_item(r->pool, &field)) != NULL) {
             for (i = 0; i < r->content_languages->nelts; ++i) {
-                if (!ap_casecmpstr(token, languages[i]))
+                if (!strcasecmp(token, languages[i]))
                     break;
             }
             if (i == r->content_languages->nelts) {