httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1728739 - /httpd/httpd/trunk/include/httpd.h
Date Fri, 05 Feb 2016 22:17:47 GMT
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 [ ]
      */



Mime
View raw message