diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-09-27 21:25:09 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-10-10 20:44:07 +0100 |
commit | 01d185cb52af8879aeeab04765eff439feec664c (patch) | |
tree | 916c8f23a2adb6bbc52b0d73d19e6b84e3ca426e /src/wasm/nxt_wasm.h | |
parent | d1a9069852b78e43aa4e0265cf193743019f41be (diff) | |
download | unit-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 'src/wasm/nxt_wasm.h')
-rw-r--r-- | src/wasm/nxt_wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/nxt_wasm.h b/src/wasm/nxt_wasm.h index f78aef13..6bc3ae35 100644 --- a/src/wasm/nxt_wasm.h +++ b/src/wasm/nxt_wasm.h @@ -127,7 +127,7 @@ struct nxt_wasm_ctx_s { struct nxt_wasm_operations_s { int (*init)(nxt_wasm_ctx_t *ctx); void (*destroy)(const nxt_wasm_ctx_t *ctx); - int (*exec_request)(nxt_wasm_ctx_t *ctx); + int (*exec_request)(const nxt_wasm_ctx_t *ctx); void (*exec_hook)(const nxt_wasm_ctx_t *ctx, nxt_wasm_fh_t hook); }; |