summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_upstream_round_robin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_upstream_round_robin.c')
-rw-r--r--src/nxt_upstream_round_robin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_upstream_round_robin.c b/src/nxt_upstream_round_robin.c
index 31e2f48a..1274f5a9 100644
--- a/src/nxt_upstream_round_robin.c
+++ b/src/nxt_upstream_round_robin.c
@@ -52,8 +52,8 @@ nxt_upstream_round_robin_create(nxt_task_t *task, nxt_router_temp_conf_t *tmcf,
nxt_conf_value_t *servers_conf, *srvcf, *wtcf;
nxt_upstream_round_robin_t *urr;
- static nxt_str_t servers = nxt_string("servers");
- static nxt_str_t weight = nxt_string("weight");
+ static const nxt_str_t servers = nxt_string("servers");
+ static const nxt_str_t weight = nxt_string("weight");
mp = tmcf->router_conf->mem_pool;