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:
parent
248a0874a4
commit
a3ee7cf61a
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user