1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Sigh. And another.

svn path=/trunk/icecast/; revision=4332
This commit is contained in:
Michael Smith 2003-02-07 14:00:33 +00:00
parent 248a0874a4
commit a3ee7cf61a

View File

@ -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) {
} }
/* 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)) {