This commit is contained in:
2025-07-22 13:57:53 +02:00
parent b99c4e9ccb
commit 5d12070a29
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -3909,6 +3909,8 @@ int socket_pool_connect_ipv6(SocketPool *pool, bool secure,
return 0;
}
#include <stdio.h> // TODO: remove
SocketEvent socket_pool_wait(SocketPool *pool)
{
for (;;) {
@@ -3927,6 +3929,7 @@ SocketEvent socket_pool_wait(SocketPool *pool)
if (socket_died(sock)) {
void *user_data = socket_get_user_data(sock);
socket_free(sock);
pool->num_socks--;
return (SocketEvent) { SOCKET_EVENT_DIED, -1, user_data };
}