You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2015/11/23 20:21:41 UTC

svn commit: r1715926 - /httpd/httpd/branches/2.4-http2-alpha/modules/http2/h2_from_h1.c

Author: icing
Date: Mon Nov 23 19:21:41 2015
New Revision: 1715926

URL: http://svn.apache.org/viewvc?rev=1715926&view=rev
Log:
reverting to old strcasecmp for 2.4.x flavour

Modified:
    httpd/httpd/branches/2.4-http2-alpha/modules/http2/h2_from_h1.c

Modified: httpd/httpd/branches/2.4-http2-alpha/modules/http2/h2_from_h1.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4-http2-alpha/modules/http2/h2_from_h1.c?rev=1715926&r1=1715925&r2=1715926&view=diff
==============================================================================
--- httpd/httpd/branches/2.4-http2-alpha/modules/http2/h2_from_h1.c (original)
+++ httpd/httpd/branches/2.4-http2-alpha/modules/http2/h2_from_h1.c Mon Nov 23 19:21:41 2015
@@ -262,7 +262,7 @@ static int uniq_field_values(void *d, co
          */
         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_f
         
         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) {