Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
ea71438a
Commit
ea71438a
authored
Nov 30, 2014
by
Philipp Schafft
🦁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s/listener/client/; thanks to micheil.
svn path=/icecast/trunk/icecast/; revision=19375
parent
0ade7d3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/auth.c
src/auth.c
+3
-3
No files found.
src/auth.c
View file @
ea71438a
...
...
@@ -180,7 +180,7 @@ static void auth_client_free (auth_client *auth_user)
}
/* verify that the li
stener
is still connected. */
/* verify that the
c
li
ent
is still connected. */
static
int
is_client_connected
(
client_t
*
client
)
{
/* As long as sock_active() is broken we need to disable this:
...
...
@@ -200,7 +200,7 @@ static auth_result auth_new_client (auth_t *auth, auth_client *auth_user) {
/* make sure there is still a client at this point, a slow backend request
* can be avoided if client has disconnected */
if
(
is_client_connected
(
client
)
==
0
)
{
ICECAST_LOG_DEBUG
(
"li
stener
is no longer connected"
);
ICECAST_LOG_DEBUG
(
"
c
li
ent
is no longer connected"
);
client
->
respcode
=
400
;
auth_release
(
client
->
auth
);
client
->
auth
=
NULL
;
...
...
@@ -220,7 +220,7 @@ static auth_result auth_new_client (auth_t *auth, auth_client *auth_user) {
}
/* wrapper function for auth thread to drop li
stener
connections
/* wrapper function for auth thread to drop
c
li
ent
connections
*/
static
auth_result
auth_remove_client
(
auth_t
*
auth
,
auth_client
*
auth_user
)
{
...
...
Write
Preview
Markdown
is supported
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