aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/HttpdOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-15 22:50:49 +0100
committerMax Kellermann <max@duempel.org>2013-01-15 22:56:06 +0100
commit0dd5f2915a9c01992c18f6c983c082199be7c771 (patch)
tree5885ceebca7673ebf3e3a2a63496fce9f90962a0 /src/output/HttpdOutputPlugin.cxx
parenta0ebd444ad52e00d23abca606819257fcb48889b (diff)
downloadmpd-0dd5f2915a9c01992c18f6c983c082199be7c771.tar.gz
mpd-0dd5f2915a9c01992c18f6c983c082199be7c771.tar.xz
mpd-0dd5f2915a9c01992c18f6c983c082199be7c771.zip
ServerSocket: use the SocketMonitor class
Diffstat (limited to 'src/output/HttpdOutputPlugin.cxx')
-rw-r--r--src/output/HttpdOutputPlugin.cxx4
1 files changed, 3 insertions, 1 deletions
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 <assert.h>
@@ -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);