mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-11-03 04:17:17 -05:00
make sure mount authentication has a type specified
svn path=/icecast/trunk/icecast/; revision=13877
This commit is contained in:
parent
7735a94ee6
commit
b8ab793867
@ -529,6 +529,11 @@ int auth_release_listener (client_t *client)
|
|||||||
|
|
||||||
static int get_authenticator (auth_t *auth, config_options_t *options)
|
static int get_authenticator (auth_t *auth, config_options_t *options)
|
||||||
{
|
{
|
||||||
|
if (auth->type == NULL)
|
||||||
|
{
|
||||||
|
WARN0 ("no authentication type defined");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
DEBUG1 ("type is %s", auth->type);
|
DEBUG1 ("type is %s", auth->type);
|
||||||
|
Loading…
Reference in New Issue
Block a user