Commit b8ab7938 authored by Karl Heyes's avatar Karl Heyes

make sure mount authentication has a type specified

svn path=/icecast/trunk/icecast/; revision=13877
parent 7735a94e
......@@ -529,6 +529,11 @@ int auth_release_listener (client_t *client)
static int get_authenticator (auth_t *auth, config_options_t *options)
{
if (auth->type == NULL)
{
WARN0 ("no authentication type defined");
return -1;
}
do
{
DEBUG1 ("type is %s", auth->type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment