IOThread: use FatalError() on g_thread_create() error
New GLib versions don't fail.
This commit is contained in:
@@ -480,11 +480,7 @@ int mpd_main(int argc, char *argv[])
|
||||
|
||||
SignalHandlersInit(*main_loop);
|
||||
|
||||
if (!io_thread_start(&error)) {
|
||||
g_warning("%s", error->message);
|
||||
g_error_free(error);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
io_thread_start();
|
||||
|
||||
ZeroconfInit(*main_loop);
|
||||
|
||||
|
Reference in New Issue
Block a user