Commit f8783aed authored by Michael Smith's avatar Michael Smith
Browse files

Check admin password against the correct username

svn path=/trunk/icecast/; revision=4416
parent a79f0b6c
...@@ -459,7 +459,7 @@ int connection_check_admin_pass(http_parser_t *parser) ...@@ -459,7 +459,7 @@ int connection_check_admin_pass(http_parser_t *parser)
if(!pass || !user) if(!pass || !user)
return 0; return 0;
return _check_pass_http(parser, "admin", pass); return _check_pass_http(parser, user, pass);
} }
int connection_check_source_pass(http_parser_t *parser, char *mount) int connection_check_source_pass(http_parser_t *parser, char *mount)
......
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