From 35723bed54d6a6c1f68e6236e52a463b7cb3ae04 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sun, 30 Nov 2014 18:17:10 +0000 Subject: [PATCH] sock_active() is broken and can not be used svn path=/icecast/trunk/icecast/; revision=19372 --- src/auth.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/auth.c b/src/auth.c index 14595cba..b7bb61d1 100644 --- a/src/auth.c +++ b/src/auth.c @@ -181,13 +181,16 @@ static void auth_client_free (auth_client *auth_user) /* verify that the listener is still connected. */ -static int is_client_connected (client_t *client) -{ +static int is_client_connected (client_t *client) { +/* As long as sock_active() is broken we need to disable this: + int ret = 1; if (client) if (sock_active(client->con->sock) == 0) ret = 0; return ret; +*/ + return 1; } static auth_result auth_new_client (auth_t *auth, auth_client *auth_user) {