Commit de4fdf66 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Corrected check for return value of tls_got_shutdown()

parent 0a026c8b
Pipeline #500 failed with stage
in 15 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment