1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Fix: Corrected check for return value of tls_got_shutdown()

This commit is contained in:
Philipp Schafft 2018-12-24 16:29:22 +00:00
parent 0a026c8b45
commit de4fdf6656

View File

@ -792,7 +792,7 @@ static int client_eof(client_t *client)
if (!client->con)
return 0;
if (client->con->tls && tls_got_shutdown(client->con->tls) > 1)
if (client->con->tls && tls_got_shutdown(client->con->tls) > 0)
client->con->error = 1;
if (client->con->error)