Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
spr0cketeer
Icecast-Server
Commits
35723bed
Commit
35723bed
authored
Nov 30, 2014
by
Philipp Schafft
🦁
Browse files
sock_active() is broken and can not be used
svn path=/icecast/trunk/icecast/; revision=19372
parent
dae5e45a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/auth.c
View file @
35723bed
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment