From 5890aa4f4b59f30222c480b89b2c5aaebc76c74f Mon Sep 17 00:00:00 2001
From: Michael Smith <msmith@xiph.org>
Date: Mon, 30 Dec 2002 01:59:03 +0000
Subject: [PATCH] Fix c++-ism that gcc didn't think to warn me about

svn path=/trunk/icecast/; revision=4176
---
 src/connection.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index b5c324d7..45c4a183 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -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) {