From: Christophe Jaillet Date: Fri, 5 Feb 2016 22:21:40 +0000 (+0000) Subject: Remove now useless cast. X-Git-Tag: 2.5.0-alpha~2195 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c55823868ba211941295607fc154ac38ff6e904;p=thirdparty%2Fapache%2Fhttpd.git Remove now useless cast. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728744 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http2/h2_request.c b/modules/http2/h2_request.c index 5ab958b26c9..1672db33ebd 100644 --- a/modules/http2/h2_request.c +++ b/modules/http2/h2_request.c @@ -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", diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c index a25c6bbc489..3c166c65a20 100644 --- a/modules/proxy/mod_proxy_hcheck.c +++ b/modules/proxy/mod_proxy_hcheck.c @@ -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;