Small fixes

This commit is contained in:
2022-12-29 17:02:57 +01:00
parent c4289ac018
commit 2969e435d1
4 changed files with 11 additions and 14 deletions

View File

@ -126,7 +126,6 @@ int sock_close(sock *s) {
SSL_free(s->ssl);
s->ssl = NULL;
}
shutdown(s->socket, SHUT_RDWR);
close(s->socket);
s->socket = 0;
s->enc = 0;