summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_controller.c
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2024-12-19 10:23:57 -0800
committerKonstantin Pavlov <thresh@nginx.com>2024-12-19 10:23:57 -0800
commitd8acad350a52a20918c46c09cb0a0f5479400923 (patch)
tree7d9c4b64daa60d3ac121743dfa3735c6fc5687a4 /src/nxt_controller.c
parent624debcf17ea7faab01fa841bd4dcd9f308cf306 (diff)
parent27bde184dedcbf687db2f314c60c037623318a8d (diff)
downloadunit-d8acad350a52a20918c46c09cb0a0f5479400923.tar.gz
unit-d8acad350a52a20918c46c09cb0a0f5479400923.tar.bz2
Merge tag '1.34.0' into packaging1.34.0-1
Unit 1.34.0 release.
Diffstat (limited to 'src/nxt_controller.c')
-rw-r--r--src/nxt_controller.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nxt_controller.c b/src/nxt_controller.c
index 1ffcf815..a7c6842c 100644
--- a/src/nxt_controller.c
+++ b/src/nxt_controller.c
@@ -1078,15 +1078,15 @@ nxt_controller_process_request(nxt_task_t *task, nxt_controller_request_t *req)
#endif
#if (NXT_TLS)
- static nxt_str_t certificates = nxt_string("certificates");
+ static const nxt_str_t certificates = nxt_string("certificates");
#endif
#if (NXT_HAVE_NJS)
- static nxt_str_t scripts_str = nxt_string("js_modules");
+ static const nxt_str_t scripts_str = nxt_string("js_modules");
#endif
- static nxt_str_t config = nxt_string("config");
- static nxt_str_t status = nxt_string("status");
+ static const nxt_str_t config = nxt_string("config");
+ static const nxt_str_t status = nxt_string("status");
c = req->conn;
path = req->parser.path;
@@ -2302,7 +2302,7 @@ nxt_controller_process_control(nxt_task_t *task,
nxt_conf_value_t *value;
nxt_controller_response_t resp;
- static nxt_str_t applications = nxt_string("applications");
+ static const nxt_str_t applications = nxt_string("applications");
nxt_memzero(&resp, sizeof(nxt_controller_response_t));