Mailing List Archive

svn commit: r1915874 - /httpd/httpd/trunk/modules/proxy/mod_proxy_scgi.c
Author: jorton
Date: Mon Feb 19 10:45:36 2024
New Revision: 1915874

URL: http://svn.apache.org/viewvc?rev=1915874&view=rev
Log:
* modules/proxy/mod_proxy_scgi.c: Mark global variables as static and
pointers as const. (no functional change)

Modified:
httpd/httpd/trunk/modules/proxy/mod_proxy_scgi.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_scgi.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_scgi.c?rev=1915874&r1=1915873&r2=1915874&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_scgi.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_scgi.c Mon Feb 19 10:45:36 2024
@@ -62,10 +62,10 @@ typedef struct {
scgi_request_type type; /* type of request */
} scgi_request_config;

-const char *scgi_sendfile_off = "off";
-const char *scgi_sendfile_on = "X-Sendfile";
-const char *scgi_internal_redirect_off = "off";
-const char *scgi_internal_redirect_on = "Location";
+static const char *const scgi_sendfile_off = "off";
+static const char *const scgi_sendfile_on = "X-Sendfile";
+static const char *const scgi_internal_redirect_off = "off";
+static const char *const scgi_internal_redirect_on = "Location";

typedef struct {
const char *sendfile;