From a86f992c424faf18db370b35e5d7d102a1e85e7b Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 2 Feb 2022 18:53:51 +0100 Subject: [PATCH] [about] const --- src/protocol/about.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/protocol/about.c b/src/protocol/about.c index 7c3a4bf78..46cc09f28 100644 --- a/src/protocol/about.c +++ b/src/protocol/about.c @@ -17,8 +17,8 @@ #ifndef CONFIG_SMALL struct about_page { - char *name; - char *string; + const char *name; + const char *string; }; static const struct about_page about_pages[] = { @@ -117,7 +117,7 @@ about_protocol_handler(struct connection *conn) for (; page->name; page++) { int len; - char *str; + const char *str; if (strcmp(conn->uri->data, page->name)) continue;