summaryrefslogtreecommitdiff
path: root/src/mod_setenv.c
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2012-11-21 23:03:54 +0100
committerArno Töll <arno@debian.org>2012-11-21 23:03:54 +0100
commit6b6dce9b02fdb1b840047562ad19f2c28080b46a (patch)
treecb8ce10661527fcd0c69652c39bdf883d26f7555 /src/mod_setenv.c
parent8bc3f8767c4f4f4687d085405db60df79686521d (diff)
downloadlighttpd-6b6dce9b02fdb1b840047562ad19f2c28080b46a.tar.gz
Imported Upstream version 1.4.24upstream/1.4.24
Diffstat (limited to 'src/mod_setenv.c')
-rw-r--r--src/mod_setenv.c10
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;