Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
c9d6c049
Commit
c9d6c049
authored
Jan 28, 2004
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oops, missed these from previous commit, the lock is now taken further up
svn path=/trunk/icecast/; revision=5789
parent
87da84a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/admin.c
src/admin.c
+2
-7
No files found.
src/admin.c
View file @
c9d6c049
...
...
@@ -165,8 +165,6 @@ xmlDocPtr admin_build_sourcelist(char *current_source)
xmlNewChild
(
xmlnode
,
NULL
,
"current_source"
,
current_source
);
}
avl_tree_rlock
(
global
.
source_tree
);
node
=
avl_get_first
(
global
.
source_tree
);
while
(
node
)
{
source
=
(
source_t
*
)
node
->
key
;
...
...
@@ -186,7 +184,6 @@ xmlDocPtr admin_build_sourcelist(char *current_source)
source
->
format
->
format_description
);
node
=
avl_get_next
(
node
);
}
avl_tree_unlock
(
global
.
source_tree
);
return
(
doc
);
}
...
...
@@ -700,9 +697,8 @@ static void command_list_mounts(client_t *client, int response) {
DEBUG0
(
"List mounts request"
);
if
(
response
==
PLAINTEXT
)
{
avl_tree_rlock
(
global
.
source_tree
);
if
(
response
==
PLAINTEXT
)
{
node
=
avl_get_first
(
global
.
source_tree
);
html_write
(
client
,
"HTTP/1.0 200 OK
\r\n
Content-Type: text/html
\r\n\r\n
"
);
...
...
@@ -711,7 +707,6 @@ static void command_list_mounts(client_t *client, int response) {
html_write
(
client
,
"%s
\n
"
,
source
->
mount
);
node
=
avl_get_next
(
node
);
}
avl_tree_unlock
(
global
.
source_tree
);
}
else
{
...
...
Write
Preview
Markdown
is supported
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