From d23ac2b9f5e9b17ecf675eac4cd6ad22dfb9ccad Mon Sep 17 00:00:00 2001 From: byte Date: Mon, 22 Sep 2025 23:27:47 +0000 Subject: making sure that global data is immutable --- utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index bdee09d..38dcc06 100644 --- a/utils.c +++ b/utils.c @@ -16,7 +16,7 @@ #include #include -static const char *default_srv_config = "{" +static const char * const default_srv_config = "{" "\"host\": \"\"," "\"prefix\": \"\"," "\"address\": \"127.0.0.1\"," @@ -42,7 +42,7 @@ static const char *default_srv_config = "{" "\"fastcgi\": false" "}"; -static const char *default_css = +static const char * const default_css = "body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; }\n" "pre { overflow-x: scroll; }\n" "blockquote { font-style: italic; }\n" @@ -97,7 +97,7 @@ const char *snac_blurb = "automatic sign-up process.

\n" ; -static const char *greeting_html = +static const char * const greeting_html = "\n" "\n" "\n" -- cgit v1.2.3