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 --- httpd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'httpd.c') diff --git a/httpd.c b/httpd.c index 50f56f2..de76776 100644 --- a/httpd.c +++ b/httpd.c @@ -59,7 +59,7 @@ static jmp_buf on_break; /** code **/ /* nodeinfo 2.0 template */ -const char *nodeinfo_2_0_template = "" +const char * const nodeinfo_2_0_template = "" "{\"version\":\"2.0\"," "\"software\":{\"name\":\"snac\",\"version\":\"" VERSION "\"}," "\"protocols\":[\"activitypub\"]," @@ -172,7 +172,7 @@ static xs_str *greeting_html(void) } -const char *share_page = "" +const char * const share_page = "" "\n" "\n" "\n" @@ -190,7 +190,7 @@ const char *share_page = "" ""; -const char *authorize_interaction_page = "" +const char * const authorize_interaction_page = "" "\n" "\n" "\n" -- cgit v1.2.3