mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-05-18 00:58:26 -04:00
Fix c++-ism that gcc didn't think to warn me about
svn path=/trunk/icecast/; revision=4176
This commit is contained in:
parent
65c0bfbba5
commit
5890aa4f4b
@ -577,13 +577,14 @@ static void _handle_get_request(connection_t *con,
|
|||||||
INFO0("Client attempted to fetch allstreams.txt with bad password");
|
INFO0("Client attempted to fetch allstreams.txt with bad password");
|
||||||
client_send_401(client);
|
client_send_401(client);
|
||||||
} else {
|
} else {
|
||||||
|
avl_node *node;
|
||||||
|
source_t *s;
|
||||||
|
|
||||||
client->respcode = 200;
|
client->respcode = 200;
|
||||||
bytes = sock_write(client->con->sock,
|
bytes = sock_write(client->con->sock,
|
||||||
"HTTP/1.0 200 OK\r\n\r\n");
|
"HTTP/1.0 200 OK\r\n\r\n");
|
||||||
if(bytes > 0) client->con->sent_bytes = bytes;
|
if(bytes > 0) client->con->sent_bytes = bytes;
|
||||||
|
|
||||||
avl_node *node;
|
|
||||||
source_t *s;
|
|
||||||
avl_tree_rlock(global.source_tree);
|
avl_tree_rlock(global.source_tree);
|
||||||
node = avl_get_first(global.source_tree);
|
node = avl_get_first(global.source_tree);
|
||||||
while (node) {
|
while (node) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user