Commit a3716577 authored by Michael Smith's avatar Michael Smith

Check the right variable for password in icy logins

svn path=/trunk/icecast/; revision=4447
parent 8c750aae
......@@ -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);
}
......
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