1
0
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:
Michael Smith 2003-03-08 05:38:52 +00:00
parent 8c750aaee4
commit a3716577ec

View File

@ -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);
}