mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Check the right variable for password in icy logins
svn path=/trunk/icecast/; revision=4447
This commit is contained in:
parent
8c750aaee4
commit
a3716577ec
@ -507,7 +507,7 @@ int connection_check_source_pass(http_parser_t *parser, char *mount)
|
||||
return 0;
|
||||
}
|
||||
|
||||
protocol = httpp_getvar(parser, "HTTP_VAR_PROTOCOL");
|
||||
protocol = httpp_getvar(parser, HTTPP_VAR_PROTOCOL);
|
||||
if(protocol != NULL && !strcmp(protocol, "ICY")) {
|
||||
ret = _check_pass_icy(parser, pass);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user