1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Cleanup: Use "match-method", not (deprecated) "methods"

This commit is contained in:
Philipp Schafft 2019-01-09 11:14:33 +00:00
parent e196495008
commit bb6ecd31fd

View File

@ -358,7 +358,7 @@ static void __append_old_style_auth(auth_stack_t **stack,
const char *type,
const char *username,
const char *password,
const char *method,
const char *match_method,
const char *allow_method,
int allow_web,
const char *allow_admin)
@ -381,8 +381,8 @@ static void __append_old_style_auth(auth_stack_t **stack,
if (name)
xmlSetProp(role, XMLSTR("name"), XMLSTR(name));
if (method)
xmlSetProp(role, XMLSTR("method"), XMLSTR(method));
if (match_method)
xmlSetProp(role, XMLSTR("match-method"), XMLSTR(match_method));
if (allow_web) {
xmlSetProp(role, XMLSTR("allow-web"), XMLSTR("*"));