]> granicus.if.org Git - apache/commitdiff
Constify the protocol field in the request_rec structure.
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 5 Feb 2016 22:17:46 +0000 (22:17 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 5 Feb 2016 22:17:46 +0000 (22:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728739 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index bf5262a7556fbb7bd60737fc2e863e96bee4e630..a05be83e03477143e9422b2874fcf86e3fa24e0e 100644 (file)
@@ -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 [ ]
      */