Bug fixes

This commit is contained in:
2025-07-21 23:19:11 +02:00
parent 43627f81ab
commit a67d4dea9f
9 changed files with 23 additions and 35 deletions
-1
View File
@@ -124,7 +124,6 @@ void socket_connect(Socket *sock, SecureContext *sec,
struct addrinfo *res = NULL;
int ret = getaddrinfo(pending_connect->hostname, portstr, &hints, &res);
if (ret != 0) {
printf("ret=%d\n", ret); // TODO: remove
pending_connect_free(pending_connect);
sock->state = SOCKET_STATE_DIED;
sock->events = 0;