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
7b5bafdf
Commit
7b5bafdf
authored
Dec 20, 2014
by
Philipp Schafft
🦁
Browse files
Merge branch fix for <metadata> of relays.
parents
857264ac
7e9e298e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stats.c
View file @
7b5bafdf
...
...
@@ -864,8 +864,10 @@ static xmlNodePtr _dump_stats_to_doc (xmlNodePtr root, const char *show_mount, i
metadata
=
xmlNewTextChild
(
xmlnode
,
NULL
,
XMLSTR
(
"metadata"
),
NULL
);
avl_tree_rlock
(
global
.
source_tree
);
source_real
=
source_find_mount_raw
(
source
->
source
);
for
(
i
=
0
;
i
<
source_real
->
format
->
vc
.
comments
;
i
++
)
__add_metadata
(
metadata
,
source_real
->
format
->
vc
.
user_comments
[
i
]);
if
(
source_real
->
format
)
{
for
(
i
=
0
;
i
<
source_real
->
format
->
vc
.
comments
;
i
++
)
__add_metadata
(
metadata
,
source_real
->
format
->
vc
.
user_comments
[
i
]);
}
avl_tree_unlock
(
global
.
source_tree
);
authentication
=
xmlNewTextChild
(
xmlnode
,
NULL
,
XMLSTR
(
"authentication"
),
NULL
);
...
...
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