Commit 957d187a authored by Denis Krjuchkov's avatar Denis Krjuchkov

Main.cxx: initialize winsock before creating IO thread

Otherwise sockets can't be created during IO thread initialization.
parent b88ea673
......@@ -372,8 +372,8 @@ int mpd_main(int argc, char *argv[])
g_thread_init(nullptr);
#endif
io_thread_init();
winsock_init();
io_thread_init();
config_global_init();
success = parse_cmdline(argc, argv, &options, error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment