summaryrefslogtreecommitdiff
path: root/src/mod_maxminddb.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_maxminddb.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_maxminddb.c')
-rw-r--r--src/mod_maxminddb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mod_maxminddb.c b/src/mod_maxminddb.c
index 6b695f77..dbb213b6 100644
--- a/src/mod_maxminddb.c
+++ b/src/mod_maxminddb.c
@@ -417,7 +417,6 @@ CONNECTION_FUNC(mod_maxminddb_request_env_handler)
const int sa_family = con->dst_addr.plain.sa_family;
if (sa_family != AF_INET && sa_family != AF_INET6) return HANDLER_GO_ON;
- UNUSED(srv);
plugin_config pconf;
plugin_data *p = p_d;
mod_maxmind_patch_config(con, p, &pconf);
@@ -447,7 +446,6 @@ CONNECTION_FUNC(mod_maxminddb_handle_con_close)
{
plugin_data *p = p_d;
array *env = con->plugin_ctx[p->id];
- UNUSED(srv);
if (NULL != env) {
array_free(env);
con->plugin_ctx[p->id] = NULL;