httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1728744 - in /httpd/httpd/trunk/modules: http2/h2_request.c proxy/mod_proxy_hcheck.c
Date Fri, 05 Feb 2016 22:21:40 GMT
Author: jailletc36
Date: Fri Feb  5 22:21:40 2016
New Revision: 1728744

URL: http://svn.apache.org/viewvc?rev=1728744&view=rev
Log:
Remove now useless cast.

Modified:
    httpd/httpd/trunk/modules/http2/h2_request.c
    httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c

Modified: httpd/httpd/trunk/modules/http2/h2_request.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_request.c?rev=1728744&r1=1728743&r2=1728744&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_request.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_request.c Fri Feb  5 22:21:40 2016
@@ -408,7 +408,7 @@ request_rec *h2_request_create_rec(const
     }
 
     ap_parse_uri(r, req->path);
-    r->protocol = (char*)"HTTP/2";
+    r->protocol = "HTTP/2";
     r->proto_num = HTTP_VERSION(2, 0);
 
     r->the_request = apr_psprintf(r->pool, "%s %s %s", 

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c?rev=1728744&r1=1728743&r2=1728744&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_hcheck.c Fri Feb  5 22:21:40 2016
@@ -393,7 +393,7 @@ static request_rec *create_request_rec(a
         r->header_only = 0;
     }
 
-    r->protocol = (char*)"HTTP/1.0";
+    r->protocol = "HTTP/1.0";
     r->proto_num = HTTP_VERSION(1, 0);
 
     r->hostname = NULL;



Mime
View raw message