[xiph-cvs] cvs commit: icecast/src connection.c

Michael Smith msmith at xiph.org
Sun Dec 29 17:59:04 PST 2002



msmith      02/12/29 20:59:03

  Modified:    src      connection.c
  Log:
  Fix c++-ism that gcc didn't think to warn me about

Revision  Changes    Path
1.34      +3 -2      icecast/src/connection.c

Index: connection.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/connection.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- connection.c	29 Dec 2002 15:46:32 -0000	1.33
+++ connection.c	30 Dec 2002 01:59:03 -0000	1.34
@@ -577,13 +577,14 @@
                         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) {

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list