mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: Corrected check for return value of tls_got_shutdown()
This commit is contained in:
parent
0a026c8b45
commit
de4fdf6656
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user