Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A15CC18E57 for ; Fri, 5 Feb 2016 22:21:43 +0000 (UTC) Received: (qmail 34833 invoked by uid 500); 5 Feb 2016 22:21:43 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 34771 invoked by uid 500); 5 Feb 2016 22:21:43 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 34761 invoked by uid 99); 5 Feb 2016 22:21:43 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2016 22:21:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1C854C029F for ; Fri, 5 Feb 2016 22:21:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.453 X-Spam-Level: * X-Spam-Status: No, score=1.453 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.347] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id iniWLXxDIUqw for ; Fri, 5 Feb 2016 22:21:42 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id B776E2304B for ; Fri, 5 Feb 2016 22:21:41 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D5B5BE0185 for ; Fri, 5 Feb 2016 22:21:40 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id D63553A10A5 for ; Fri, 5 Feb 2016 22:21:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: cvs@httpd.apache.org From: jailletc36@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160205222140.D63553A10A5@svn01-us-west.apache.org> 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;