1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Fix c++-ism that gcc didn't think to warn me about

svn path=/trunk/icecast/; revision=4176
This commit is contained in:
Michael Smith 2002-12-30 01:59:03 +00:00
parent 65c0bfbba5
commit 5890aa4f4b

View File

@ -577,13 +577,14 @@ static void _handle_get_request(connection_t *con,
INFO0("Client attempted to fetch allstreams.txt with bad password");
client_send_401(client);
} else {
avl_node *node;
source_t *s;
client->respcode = 200;
bytes = sock_write(client->con->sock,
"HTTP/1.0 200 OK\r\n\r\n");
if(bytes > 0) client->con->sent_bytes = bytes;
avl_node *node;
source_t *s;
avl_tree_rlock(global.source_tree);
node = avl_get_first(global.source_tree);
while (node) {