Commit 59e5a487 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Cleanup: Updated usage of global.running to be more clear

parent cc931660
......@@ -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
......
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