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

change the option names to be more reasonable

svn path=/icecast/trunk/icecast/; revision=9731
This commit is contained in:
Karl Heyes 2005-08-11 23:11:50 +00:00
parent 5732ec21ea
commit 03c74becbe

View File

@ -85,6 +85,7 @@ typedef struct {
static void auth_url_clear(auth_t *self)
{
INFO0 ("Doing auth URL cleanup");
auth_url *url = self->state;
curl_easy_cleanup (url->handle);
free (url->username);
@ -382,13 +383,13 @@ int auth_get_url_auth (auth_t *authenticator, config_options_t *options)
url_info->username = strdup (options->value);
if(!strcmp(options->name, "password"))
url_info->password = strdup (options->value);
if(!strcmp(options->name, "add"))
if(!strcmp(options->name, "listener_add"))
url_info->addurl = strdup (options->value);
if(!strcmp(options->name, "remove"))
if(!strcmp(options->name, "listener_remove"))
url_info->removeurl = strdup (options->value);
if(!strcmp(options->name, "start"))
if(!strcmp(options->name, "mount_add"))
url_info->stream_start = strdup (options->value);
if(!strcmp(options->name, "end"))
if(!strcmp(options->name, "mount_remove"))
url_info->stream_end = strdup (options->value);
if(!strcmp(options->name, "auth_header"))
{