From 0dd5f2915a9c01992c18f6c983c082199be7c771 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Jan 2013 22:50:49 +0100 Subject: ServerSocket: use the SocketMonitor class --- src/output/HttpdOutputPlugin.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/output') diff --git a/src/output/HttpdOutputPlugin.cxx b/src/output/HttpdOutputPlugin.cxx index 075e0ea5e..d1a1a36df 100644 --- a/src/output/HttpdOutputPlugin.cxx +++ b/src/output/HttpdOutputPlugin.cxx @@ -29,6 +29,7 @@ #include "icy_server.h" #include "fd_util.h" #include "ServerSocket.hxx" +#include "Main.hxx" #include @@ -134,7 +135,8 @@ httpd_output_init(const struct config_param *param, /* set up bind_to_address */ - httpd->server_socket = server_socket_new(httpd_listen_in_event, httpd); + httpd->server_socket = server_socket_new(*main_loop, + httpd_listen_in_event, httpd); const char *bind_to_address = config_get_block_string(param, "bind_to_address", NULL); -- cgit v1.2.3