[xiph-cvs] cvs commit: icecast/src format.c
Michael Smith
msmith at xiph.org
Fri Feb 14 05:17:39 PST 2003
msmith 03/02/14 08:17:38
Modified: src format.c
Log:
Oops. Pull a header print outside the loop so the Server: header is only
output once, not many times.
Revision Changes Path
1.17 +3 -3 icecast/src/format.c
Index: format.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/format.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- format.c 14 Feb 2003 10:31:21 -0000 1.16
+++ format.c 14 Feb 2003 13:17:38 -0000 1.17
@@ -112,11 +112,11 @@
"%s: %s\r\n", var->name, var->value);
if(bytes > 0) client->con->sent_bytes += bytes;
}
- bytes = sock_write(client->con->sock,
- "Server: %s\r\n", ICECAST_VERSION_STRING);
- if(bytes > 0) client->con->sent_bytes += bytes;
node = avl_get_next(node);
}
avl_tree_unlock(source->parser->vars);
+ bytes = sock_write(client->con->sock,
+ "Server: %s\r\n", ICECAST_VERSION_STRING);
+ if(bytes > 0) client->con->sent_bytes += bytes;
}
<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