]> granicus.if.org Git - apache/commitdiff
Remove now useless cast.
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 5 Feb 2016 22:21:40 +0000 (22:21 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 5 Feb 2016 22:21:40 +0000 (22:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728744 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_request.c
modules/proxy/mod_proxy_hcheck.c

index 5ab958b26c9f79eaf25620a638d36f9e6cae066d..1672db33ebd50948e606f83e29920014b31e6d0e 100644 (file)
@@ -408,7 +408,7 @@ request_rec *h2_request_create_rec(const h2_request *req, conn_rec *conn)
     }
 
     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", 
index a25c6bbc4897cdd87a00e06d4682c021978381cd..3c166c65a207f760d6071137f3ce511020998890 100644 (file)
@@ -393,7 +393,7 @@ static request_rec *create_request_rec(apr_pool_t *p1, conn_rec *conn, const cha
         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;