From f8783aedacfac6d8dcc7a2612d1c73d38d15e6ca Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 6 Mar 2003 14:46:33 +0000 Subject: [PATCH] Check admin password against the correct username svn path=/trunk/icecast/; revision=4416 --- src/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection.c b/src/connection.c index a68598bb..50ee4944 100644 --- a/src/connection.c +++ b/src/connection.c @@ -459,7 +459,7 @@ int connection_check_admin_pass(http_parser_t *parser) if(!pass || !user) 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)