mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-09-29 04:25:55 -04:00
master_password can be NULL
This commit is contained in:
parent
79fb9cbbf4
commit
212b7a12da
@ -1621,7 +1621,8 @@ static void _parse_master(xmlDocPtr doc,
|
||||
master->on_demand = configuration->on_demand;
|
||||
master->server = (char *) xmlCharStrdup("127.0.0.1");
|
||||
master->username = (char *) xmlCharStrdup(configuration->master_username);
|
||||
master->password = (char *) xmlCharStrdup(configuration->master_password);
|
||||
if (configuration->master_password)
|
||||
master->password = (char *) xmlCharStrdup(configuration->master_password);
|
||||
|
||||
do {
|
||||
if (node == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user