aboutsummaryrefslogtreecommitdiff
path: root/plugins/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/http.c')
-rw-r--r--plugins/http.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/http.c b/plugins/http.c
index 1aa2bd9..a6a58e2 100644
--- a/plugins/http.c
+++ b/plugins/http.c
@@ -94,8 +94,10 @@ on_headers_complete (http_parser *parser)
}
static void *
-scan_init (struct unit *u)
+scan_init (struct service *service, struct unit *u)
{
+ (void) service;
+
struct str hello;
str_init (&hello);
str_append_printf (&hello, "GET / HTTP/1.0\r\n"