1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

proper config file handling...

svn path=/icecast/trunk/icecast/; revision=6615
This commit is contained in:
oddsock 2004-05-03 14:56:57 +00:00
parent 15b9c16c1c
commit e597b63c6a

View File

@ -611,8 +611,9 @@ static void command_buildm3u(client_t *client, source_t *source,
COMMAND_REQUIRE(client, "password", password);
config = config_get_config();
host = config->hostname;
host = strdup(config->hostname);
port = config->port;
config_release_config();
client->respcode = 200;
sock_write(client->con->sock,
@ -626,9 +627,9 @@ static void command_buildm3u(client_t *client, source_t *source,
port,
source->mount
);
free(host);
client_destroy(client);
config_release_config();
}
static void command_manageauth(client_t *client, source_t *source,
int response)