Commit a3ee7cf6 authored by Michael Smith's avatar Michael Smith
Browse files

Sigh. And another.

svn path=/trunk/icecast/; revision=4332
parent 248a0874
...@@ -117,6 +117,7 @@ static void *_slave_thread(void *arg) { ...@@ -117,6 +117,7 @@ static void *_slave_thread(void *arg) {
int len; int len;
char *username = "relay"; char *username = "relay";
char *password = config_get_config()->master_password; char *password = config_get_config()->master_password;
relay_server *relay;
if(password == NULL) if(password == NULL)
password = config_get_config()->source_password; password = config_get_config()->source_password;
...@@ -172,7 +173,7 @@ static void *_slave_thread(void *arg) { ...@@ -172,7 +173,7 @@ static void *_slave_thread(void *arg) {
} }
/* And now, we process the individual mounts... */ /* And now, we process the individual mounts... */
relay_server *relay = config_get_config()->relay; relay = config_get_config()->relay;
while(relay) { while(relay) {
avl_tree_rlock(global.source_tree); avl_tree_rlock(global.source_tree);
if(!source_find_mount(relay->mount)) { if(!source_find_mount(relay->mount)) {
......
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