summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-05-24 15:48:45 +0100
committerAndrew Clayton <a.clayton@nginx.com>2024-05-24 15:48:45 +0100
commitea5c41b8056997ed40138020272b5159271f1b87 (patch)
tree8a291ddecff76d1efd324cdd4b8979386b2fdeb9 /src
parent7b19a06c9aa3e658eea4a87622ac74d67c10173f (diff)
downloadunit-ea5c41b8056997ed40138020272b5159271f1b87.tar.gz
unit-ea5c41b8056997ed40138020272b5159271f1b87.tar.bz2
wasm: Add a missing 'const' qualifier in nxt_wasm_setup()
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src')
-rw-r--r--src/wasm/nxt_wasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/nxt_wasm.c b/src/wasm/nxt_wasm.c
index 92ed57ab..db79d6ae 100644
--- a/src/wasm/nxt_wasm.c
+++ b/src/wasm/nxt_wasm.c
@@ -246,7 +246,7 @@ nxt_wasm_setup(nxt_task_t *task, nxt_process_t *process,
nxt_conf_value_t *dirs = NULL;
nxt_wasm_app_conf_t *c;
nxt_wasm_func_handler_t *fh;
- static nxt_str_t filesystem_str = nxt_string("filesystem");
+ static const nxt_str_t filesystem_str = nxt_string("filesystem");
c = &conf->u.wasm;