You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2016/02/05 23:17:47 UTC
svn commit: r1728739 - /httpd/httpd/trunk/include/httpd.h
Author: jailletc36
Date: Fri Feb 5 22:17:46 2016
New Revision: 1728739
URL: http://svn.apache.org/viewvc?rev=1728739&view=rev
Log:
Constify the protocol field in the request_rec structure.
Modified:
httpd/httpd/trunk/include/httpd.h
Modified: httpd/httpd/trunk/include/httpd.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?rev=1728739&r1=1728738&r2=1728739&view=diff
==============================================================================
--- httpd/httpd/trunk/include/httpd.h (original)
+++ httpd/httpd/trunk/include/httpd.h Fri Feb 5 22:17:46 2016
@@ -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 [ ]
*/