mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-06-23 06:25:24 +00:00
Cleanup: Updated usage of global.running to be more clear
This commit is contained in:
parent
cc931660b9
commit
59e5a48776
|
@ -38,7 +38,7 @@ void global_initialize(void)
|
|||
global.server_sockets = 0;
|
||||
global.relays = NULL;
|
||||
global.master_relays = NULL;
|
||||
global.running = 0;
|
||||
global.running = ICECAST_BOOTING;
|
||||
global.clients = 0;
|
||||
global.sources = 0;
|
||||
global.source_tree = avl_tree_new(source_compare_sources, NULL);
|
||||
|
|
|
@ -15,8 +15,9 @@
|
|||
|
||||
#define ICECAST_LISTEN_QUEUE 5
|
||||
|
||||
#define ICECAST_RUNNING 1
|
||||
#define ICECAST_HALTING 2
|
||||
#define ICECAST_BOOTING 0 /* Still booting */
|
||||
#define ICECAST_RUNNING 1 /* Up and running */
|
||||
#define ICECAST_HALTING 2 /* Shutting down */
|
||||
|
||||
#define ICECAST_VERSION_STRING "Icecast " PACKAGE_VERSION
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user