Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
Icecast-Server
Commits
99d9be1d
Commit
99d9be1d
authored
Jan 08, 2015
by
Philipp Schafft
🦁
Browse files
Cleanup: two minor code style corrections
parent
205eca50
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stats.c
View file @
99d9be1d
...
...
@@ -837,8 +837,7 @@ static xmlNodePtr _dump_stats_to_doc (xmlNodePtr root, const char *show_mount, i
/* general stats first */
avlnode
=
avl_get_first
(
_stats
.
global_tree
);
while
(
avlnode
)
{
while
(
avlnode
)
{
stats_node_t
*
stat
=
avlnode
->
key
;
if
(
stat
->
hidden
<=
hidden
)
xmlNewTextChild
(
root
,
NULL
,
XMLSTR
(
stat
->
name
),
XMLSTR
(
stat
->
value
));
...
...
@@ -850,8 +849,7 @@ while (avlnode)
__add_authstack
(
config
->
authstack
,
root
);
config_release_config
();
while
(
avlnode
)
{
while
(
avlnode
)
{
stats_source_t
*
source
=
(
stats_source_t
*
)
avlnode
->
key
;
if
(
source
->
hidden
<=
hidden
&&
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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