main: move the http server registration to the end of the initialization phase

This commit is contained in:
Jaroslav Kysela 2015-02-12 13:17:30 +01:00
parent 96898a66e9
commit 434fc5de6a

View file

@ -854,7 +854,6 @@ main(int argc, char **argv)
#endif
tcp_server_init();
http_server_register();
webui_init(opt_xspf);
#if ENABLE_UPNP
upnp_server_init(opt_bindaddr);
@ -871,6 +870,7 @@ main(int argc, char **argv)
dbus_server_start();
http_server_register();
htsp_register();