summaryrefslogtreecommitdiffhomepage
path: root/src/wasm/nxt_rt_wasmtime.c
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-09-27 21:25:09 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-10-10 20:44:07 +0100
commit01d185cb52af8879aeeab04765eff439feec664c (patch)
tree916c8f23a2adb6bbc52b0d73d19e6b84e3ca426e /src/wasm/nxt_rt_wasmtime.c
parentd1a9069852b78e43aa4e0265cf193743019f41be (diff)
downloadunit-01d185cb52af8879aeeab04765eff439feec664c.tar.gz
unit-01d185cb52af8879aeeab04765eff439feec664c.tar.bz2
Wasm: Re-add a removed 'const' qualifier in nxt_rt_wasmtime.c.
This was inadvertently removed in 76086d6d ("Wasm: Allow to set the HTTP response status.") Fixes: 76086d6d ("Wasm: Allow to set the HTTP response status.") Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '')
-rw-r--r--src/wasm/nxt_rt_wasmtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/nxt_rt_wasmtime.c b/src/wasm/nxt_rt_wasmtime.c
index 7f05fae0..bf0b0a0f 100644
--- a/src/wasm/nxt_rt_wasmtime.c
+++ b/src/wasm/nxt_rt_wasmtime.c
@@ -137,7 +137,7 @@ nxt_wasmtime_execute_hook(const nxt_wasm_ctx_t *ctx, nxt_wasm_fh_t hook)
static int
-nxt_wasmtime_execute_request(nxt_wasm_ctx_t *ctx)
+nxt_wasmtime_execute_request(const nxt_wasm_ctx_t *ctx)
{
int i = 0;
wasm_trap_t *trap = NULL;