Small fixes

This commit is contained in:
lorenz.stechauner committed 2022-12-29 17:02:57 +01:00
1 parent c4289ac018
commit 2969e435d1
4 files changed
+11 -14

No files matched your search

-1
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;