Update logger to use format

This commit is contained in:
2022-12-29 11:09:45 +01:00
parent 5c72a0cb60
commit f9b3cc29ab
8 changed files with 57 additions and 32 deletions

@ -130,6 +130,7 @@ int sock_close(sock *s) {
close(s->socket);
s->socket = 0;
s->enc = 0;
errno = 0;
return 0;
}