diff options
Diffstat (limited to 'src/mod_setenv.c')
| -rw-r--r-- | src/mod_setenv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mod_setenv.c b/src/mod_setenv.c index a072466..4419b61 100644 --- a/src/mod_setenv.c +++ b/src/mod_setenv.c @@ -1,6 +1,3 @@ -#include <stdlib.h> -#include <string.h> - #include "base.h" #include "log.h" #include "buffer.h" @@ -9,6 +6,9 @@ #include "response.h" +#include <stdlib.h> +#include <string.h> + /* plugin config for all request/connections */ typedef struct { @@ -215,7 +215,7 @@ URIHANDLER_FUNC(mod_setenv_uri_handler) { return HANDLER_GO_ON; } -REQUESTDONE_FUNC(mod_setenv_reset) { +CONNECTION_FUNC(mod_setenv_reset) { plugin_data *p = p_d; UNUSED(srv); @@ -240,7 +240,7 @@ int mod_setenv_plugin_init(plugin *p) { p->set_defaults = mod_setenv_set_defaults; p->cleanup = mod_setenv_free; - p->handle_request_done = mod_setenv_reset; + p->connection_reset = mod_setenv_reset; p->data = NULL; |
