summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_upstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_upstream.c')
-rw-r--r--src/nxt_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_upstream.c b/src/nxt_upstream.c
index 17593173..c92d4a50 100644
--- a/src/nxt_upstream.c
+++ b/src/nxt_upstream.c
@@ -25,7 +25,7 @@ nxt_upstreams_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf,
nxt_upstreams_t *upstreams;
nxt_conf_value_t *upstreams_conf, *upcf;
- static nxt_str_t upstreams_name = nxt_string("upstreams");
+ static const nxt_str_t upstreams_name = nxt_string("upstreams");
upstreams_conf = nxt_conf_get_object_member(conf, &upstreams_name, NULL);