Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marvin Scholz
Icecast-Server
Commits
a9907569
Commit
a9907569
authored
Dec 19, 2014
by
Philipp Schafft
🦁
Browse files
Feature: Also export type="" in stats.xml's <role>s
parent
7093e195
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stats.c
View file @
a9907569
...
...
@@ -878,6 +878,8 @@ static xmlNodePtr _dump_stats_to_doc (xmlNodePtr root, const char *show_mount, i
snprintf
(
idbuf
,
sizeof
(
idbuf
),
"%lu"
,
auth
->
id
);
role
=
xmlNewTextChild
(
authentication
,
NULL
,
XMLSTR
(
"role"
),
NULL
);
xmlSetProp
(
role
,
XMLSTR
(
"id"
),
XMLSTR
(
idbuf
));
if
(
auth
->
type
)
xmlSetProp
(
role
,
XMLSTR
(
"type"
),
XMLSTR
(
auth
->
type
));
if
(
auth
->
role
)
xmlSetProp
(
role
,
XMLSTR
(
"name"
),
XMLSTR
(
auth
->
role
));
if
(
auth
->
management_url
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment