Commit 5890aa4f authored by Michael Smith's avatar Michael Smith

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

svn path=/trunk/icecast/; revision=4176
parent 65c0bfbb
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment