1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

s/listener/client/; thanks to micheil.

svn path=/icecast/trunk/icecast/; revision=19375
This commit is contained in:
Philipp Schafft 2014-11-30 18:20:09 +00:00
parent 0ade7d3e17
commit ea71438af3

View File

@ -180,7 +180,7 @@ static void auth_client_free (auth_client *auth_user)
}
/* verify that the listener is still connected. */
/* verify that the client 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("listener is no longer connected");
ICECAST_LOG_DEBUG("client 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 listener connections
/* wrapper function for auth thread to drop client connections
*/
static auth_result auth_remove_client(auth_t *auth, auth_client *auth_user)
{