From: Christophe Jaillet Date: Fri, 5 Feb 2016 22:17:46 +0000 (+0000) Subject: Constify the protocol field in the request_rec structure. X-Git-Tag: 2.5.0-alpha~2196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=100331075531b35e7811f329d62f6428d4e0c4ee;p=thirdparty%2Fapache%2Fhttpd.git Constify the protocol field in the request_rec structure. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728739 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/httpd.h b/include/httpd.h index bf5262a7556..a05be83e034 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -826,7 +826,7 @@ struct request_rec { /** Protocol version number of protocol; 1.1 = 1001 */ int proto_num; /** Protocol string, as given to us, or HTTP/0.9 */ - char *protocol; + const char *protocol; /** Host, as set by full URI or Host: header. * For literal IPv6 addresses, this does NOT include the surrounding [ ] */