[xiph-cvs] cvs commit: icecast/src fserve.c
Michael Smith
msmith at xiph.org
Thu Jan 15 16:43:17 PST 2004
msmith 04/01/15 19:43:17
Modified: src fserve.c
Log:
Fix nasty bug in file serving code, would probably have made it fail with
multiple simultaneous requests.
Revision Changes Path
1.16 +5 -2 icecast/src/fserve.c
Index: fserve.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/fserve.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- fserve.c 24 Jul 2003 16:21:22 -0000 1.15
+++ fserve.c 16 Jan 2004 00:43:16 -0000 1.16
@@ -414,8 +414,11 @@
static int _compare_clients(void *compare_arg, void *a, void *b)
{
- connection_t *cona = (connection_t *)a;
- connection_t *conb = (connection_t *)b;
+ fserve_t *clienta = (fserve_t *)a;
+ fserve_t *clientb = (fserve_t *)b;
+
+ connection_t *cona = clienta->client->con;
+ connection_t *conb = clientb->client->con;
if (cona->id < conb->id) return -1;
if (cona->id > conb->id) return 1;
<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