openbsd-ports/net/icecast/patches/patch-src_fserve_c
fgsch 3768b09c9c update to icecast 2.0 now that is considered stable.
done by and new maintainer Moritz Grimm <gtgbr at gmx dot net>.
2004-02-02 19:32:36 +00:00

18 lines
662 B
Plaintext

$OpenBSD: patch-src_fserve_c,v 1.1 2004/02/02 19:32:37 fgsch Exp $
--- src/fserve.c.orig 2004-01-26 08:33:44.000000000 +0100
+++ src/fserve.c 2004-01-26 08:37:22.000000000 +0100
@@ -414,8 +414,11 @@ int fserve_client_create(client_t *httpc
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;