summaryrefslogtreecommitdiff
path: root/src/mod_setenv.c
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-11-26 02:13:05 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-08 19:54:28 -0400
commit50bdb55de804953378171cd1caf82bef27ec6cab (patch)
tree7246396bcd91e110122f6bf98c47a651c188a395 /src/mod_setenv.c
parent0fcd51438dc663dc1bebf54404e94128924687dd (diff)
downloadlighttpd-git-50bdb55de804953378171cd1caf82bef27ec6cab.tar.gz
[multiple] connection hooks no longer get (srv *)
(explicit (server *) not passed; available in con->srv)
Diffstat (limited to 'src/mod_setenv.c')
-rw-r--r--src/mod_setenv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mod_setenv.c b/src/mod_setenv.c
index 5a9eb5d8..37e76dfc 100644
--- a/src/mod_setenv.c
+++ b/src/mod_setenv.c
@@ -161,7 +161,6 @@ URIHANDLER_FUNC(mod_setenv_uri_handler) {
else if (hctx->handled)
return HANDLER_GO_ON;
hctx->handled = 1;
- UNUSED(srv);
mod_setenv_patch_config(con, p, &hctx->conf);
@@ -199,7 +198,6 @@ CONNECTION_FUNC(mod_setenv_handle_request_env) {
if (NULL == hctx) return HANDLER_GO_ON;
if (hctx->handled > 1) return HANDLER_GO_ON;
hctx->handled = 2;
- UNUSED(srv);
const array * const aa = hctx->conf.environment;
const array * const as = hctx->conf.set_environment;
@@ -227,7 +225,6 @@ CONNECTION_FUNC(mod_setenv_handle_response_start) {
plugin_data *p = p_d;
handler_ctx *hctx = con->plugin_ctx[p->id];
if (NULL == hctx) return HANDLER_GO_ON;
- UNUSED(srv);
const array * const aa = hctx->conf.response_header;
const array * const as = hctx->conf.set_response_header;
@@ -260,7 +257,6 @@ CONNECTION_FUNC(mod_setenv_handle_response_start) {
CONNECTION_FUNC(mod_setenv_reset) {
void ** const hctx = con->plugin_ctx + ((plugin_data_base *)p_d)->id;
if (*hctx) { handler_ctx_free(*hctx); *hctx = NULL; }
- UNUSED(srv);
return HANDLER_GO_ON;
}