From 01d185cb52af8879aeeab04765eff439feec664c Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Wed, 27 Sep 2023 21:25:09 +0100 Subject: 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 --- src/wasm/nxt_rt_wasmtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm/nxt_rt_wasmtime.c') 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; -- cgit